Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chaharnishant11/CodeIn10DSA
/ main
Function
main
Recursion/Homework/fibonacci.cpp:30–40 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
28
};
29
30
int main() {
31
int t;
32
cin >> t;
33
while (t--) {
34
long long int n;
35
cin >> n;
36
Solution ob;
37
cout << ob.nthFibonacci(n) << endl;
38
}
39
return 0;
40
}
Callers
nothing calls this directly
Calls
1
nthFibonacci
Method · 0.80
Tested by
no test coverage detected