Borderou de evaluare (job #764931)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Pătrate4 (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 25 feb. 2024 15:24:31 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:6:2: error: 'fin' was not declared in this scope
6 | {fin>>C;
| ^~~
main.cpp:6:7: error: 'C' was not declared in this scope
6 | {fin>>C;
| ^
main.cpp:9:14: error: 'm' was not declared in this scope; did you mean 'tm'?
9 | fin>>m; nr=0;
| ^
| tm
main.cpp:9:18: error: 'nr' was not declared in this scope
9 | fin>>m; nr=0;
| ^~
main.cpp:10:13: error: 'i' was not declared in this scope
10 | for(i=1;i<=m;i++)
| ^
main.cpp:12:9: error: 'fout' was not declared in this scope
12 | fout<<nr;
| ^~~~
main.cpp:14:2: error: expected '}' at end of input
14 | }
| ^
main.cpp:6:1: note: to match this '{'
6 | {fin>>C;
| ^