Borderou de evaluare (job #778776)

Utilizator avatar NataliaJantea Jantea Natalia NataliaJantea IP ascuns
Problemă Babilon (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 28 mai 2024 18:39:37 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:25:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 25 | if (contor > mx) | ^~ main.cpp:27:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 27 | contor = 0; | ^~~~~~ main.cpp:70:9: error: expected ';' before '}' token 70 | 1112 | ^ | ; 71 | } | ~ main.cpp:70:5: warning: statement has no effect [-Wunused-value] 70 | 1112 | ^~~~ main.cpp:8:10: warning: unused variable 'consecutive' [-Wunused-variable] 8 | bool consecutive = 0, anterior = 0; | ^~~~~~~~~~~ main.cpp:8:27: warning: unused variable 'anterior' [-Wunused-variable] 8 | bool consecutive = 0, anterior = 0; | ^~~~~~~~