Borderou de evaluare (job #802684)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cifre8 (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 7 ian. 2025 18:37:50 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:14:10: error: 'i' was not declared in this scope
14 | for (i=1; i<=n; i++)
| ^
main.cpp:19:9: error: 'c5' was not declared in this scope
19 | c5++;
| ^~
main.cpp:24:9: error: 'c2' was not declared in this scope
24 | c2++;
| ^~
main.cpp:33:11: error: 'c2' was not declared in this scope
33 | while(c2-c5!=0)
| ^~
main.cpp:33:14: error: 'c5' was not declared in this scope
33 | while(c2-c5!=0)
| ^~
main.cpp:38:11: error: 'c5' was not declared in this scope
38 | fout<<c5<<" "<<p;
| ^~