Borderou de evaluare (job #799436)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Prime1 (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 11 dec. 2024 09:49:58 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:73:12: error: 'c' was not declared in this scope
73 | fin >> c;
| ^
main.cpp:74:21: error: 'n' was not declared in this scope
74 | for(int i=1; i<=n; i++)
| ^
main.cpp:76:16: error: 'x' was not declared in this scope
76 | fin >> x;
| ^
main.cpp:81:17: error: 'nr' was not declared in this scope
81 | nr++;
| ^~
main.cpp:95:21: error: 'nr' was not declared in this scope
95 | nr++;
| ^~
main.cpp:100:17: error: 'j' was not declared in this scope
100 | j = x/2;
| ^
main.cpp:111:21: error: 'nr' was not declared in this scope
111 | nr++;
| ^~