Borderou de evaluare (job #788118)

Utilizator avatar dariusbulican darius bulican dariusbulican IP ascuns
Problemă Numerediv (clasele 5-6) Compilator cpp-32
Rundă lasm_26_09_2024_clasa10_11 Status evaluat
Dată 26 sept. 2024 14:00:54 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:5:9: error: stray '\354' in program 5 | <ec>fstream fin("numerediv.in"); | ^~~~ main.cpp: In function 'int main()': main.cpp:9:16: error: expected unqualified-id before '=' token 9 | for(int=0;i<N;i++) { | ^ main.cpp:9:16: error: expected ';' before '=' token 9 | for(int=0;i<N;i++) { | ^ | ; main.cpp:9:16: error: expected primary-expression before '=' token main.cpp:9:19: error: 'i' was not declared in this scope 9 | for(int=0;i<N;i++) { | ^ main.cpp:9:22: error: expected ')' before ';' token 9 | for(int=0;i<N;i++) { | ~ ^ | ) main.cpp:9:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 9 | for(int=0;i<N;i++) { | ^~~ main.cpp:9:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 9 | for(int=0;i<N;i++) { | ^ main.cpp:9:23: error: 'i' was not declared in this scope main.cpp:7:16: warning: unused variable 'P' [-Wunused-variable] 7 | int N, P; | ^