Borderou de evaluare (job #694008)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Abc 1 (clasa a 9-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 8 feb. 2023 21:40:15 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:6:25: error: expected ')' before ';' token
6 | ofstream cout("abc1.out";)
| ~ ^
| )
main.cpp:6:26: error: expected unqualified-id before ')' token
6 | ofstream cout("abc1.out";)
| ^
main.cpp: In function 'int main()':
main.cpp:34:13: error: 'x' was not declared in this scope
34 | x[i][j%4]=cnt%10;
| ^
main.cpp:40:15: error: 'x' was not declared in this scope
40 | cout<<x[a%10][b%4];
| ^
main.cpp:46:15: error: 'x' was not declared in this scope
46 | cout<<x[a%10][b%4];
| ^
main.cpp:50:15: error: 'x' was not declared in this scope
50 | cout<<x[a%10][0];
| ^
main.cpp:54:15: error: 'x' was not declared in this scope
54 | cout<<x[a%10][1];
| ^
main.cpp:58:15: error: 'x' was not declared in this scope
58 | cout<<x[a%10][0];
| ^