Borderou de evaluare (job #751349)

Utilizator avatar Tudor62 Acatincai Tudor Tudor62 IP ascuns
Problemă Comune (clasa a 5-a) Compilator cpp-32
Rundă vs_7_8_9_dec Status evaluat
Dată 16 dec. 2023 10:42:36 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:14:25: error: expected ';' before ')' token 14 | for(n != 0 && m != 0) | ^ | ; main.cpp:14:16: warning: statement has no effect [-Wunused-value] 14 | for(n != 0 && m != 0) | ~~~~~~~^~~~~~~~~ main.cpp:27:5: error: expected primary-expression before 'return' 27 | return 0; | ^~~~~~ main.cpp:25:16: error: expected ')' before 'return' 25 | fout << ct; | ^ | ) 26 | 27 | return 0; | ~~~~~~ main.cpp:14:8: note: to match this '(' 14 | for(n != 0 && m != 0) | ^ main.cpp:10:19: warning: unused variable 'cif1' [-Wunused-variable] 10 | int long long cif1, cif2, ct = 0; | ^~~~ main.cpp:10:25: warning: unused variable 'cif2' [-Wunused-variable] 10 | int long long cif1, cif2, ct = 0; | ^~~~