Problem fibo
User GlitchPlungerCat
Submission Time 2025-08-18 16:39:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fibo.cpp: In function ‘int main()’:
fibo.cpp:7:7: error: ‘i’ was not declared in this scope
7 | for (i = 0; i < n; i++){
| ^
fibo.cpp:8:11: error: ‘x’ was not declared in this scope
8 | cout << x % MOD << endl;
| ^
fibo.cpp:9:20: error: ‘y’ was not declared in this scope
9 | long long z = (x+y) % MOD;
| ^
fibo.cpp:13:10: error: ‘x’ was not declared in this scope
13 | cout << x % MOD << endl;
| ^
fibo.cpp:14:11: error: expected ‘;’ before ‘}’ token
14 | return 0
| ^
| ;
15 | }
| ~