Problem fibo
User brat
Submission Time 2025-09-23 22:39:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fibo.cpp: In function ‘int main()’:
fibo.cpp:11:23: error: overloaded function with no contextual type information
11 | int init = 0; next = 1, prev;
| ^
fibo.cpp:15:10: error: overloaded function with no contextual type information
15 | prev = init;
| ^~~~
fibo.cpp:16:10: error: cannot resolve overloaded function ‘next’ based on conversion to type ‘long long int’
16 | init = next;
| ^~~~
fibo.cpp:17:11: error: overloaded function with no contextual type information
17 | next += prev;
| ^~~~