Borderou de evaluare (job #793411)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Fib (clasa a 6-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 7 nov. 2024 17:38:50 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int fibo1(int, int, int)':
main.cpp:9:12: error: 'n' was not declared in this scope
9 | if(n==0) return prev2;
| ^
main.cpp:10:12: error: 'n' was not declared in this scope
10 | if(n==1) return prev1;
| ^