Borderou de evaluare (job #815178)

Utilizator avatar Edi798 Nastase Eduard Vicentiu Edi798 IP ascuns
Problemă Cifre 4 (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 19 mar. 2025 01:35:40 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:21:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 21 | if(c>m) | ^~ main.cpp:23:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 23 | n=n/10; | ^ main.cpp:39:16: error: expected ';' before 'if' 39 | c=n%100 | ^ | ; 40 | if(c>a) | ~~