Borderou de evaluare (job #762429)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Banda (baraj gimnaziu) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 14 feb. 2024 13:57:17 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:281:41: error: expected ')' before '{' token
281 | if (n == 1000 && s.get(65,82==0)
| ~ ^
| )
282 | {
| ~
main.cpp:281:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
281 | if (n == 1000 && s.get(65,82==0)
| ^~
main.cpp:289:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
289 | for (i = 0; i < arrlen; i++)
| ^
main.cpp:289:23: warning: statement has no effect [-Wunused-value]
289 | for (i = 0; i < arrlen; i++)
| ~~^~~~~~~~
main.cpp:289:36: error: expected ';' before ')' token
289 | for (i = 0; i < arrlen; i++)
| ^
| ;