Borderou de evaluare (job #601175)

Utilizator avatar carinabrebenaru Carina Brebenaru carinabrebenaru IP ascuns
Problemă Speciale (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 30 iun. 2021 14:32:21 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:28:28: error: expected ')' before ';' token 28 | for(j=0;j<nrcif;j++;) | ~ ^ | ) main.cpp:28:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 28 | for(j=0;j<nrcif;j++;) | ^~~ main.cpp:28:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 28 | for(j=0;j<nrcif;j++;) | ^ main.cpp:28:29: error: expected primary-expression before ')' token main.cpp:7:9: warning: unused variable 'i' [-Wunused-variable] 7 | int i,j,p,k,n,cn,a,b,nrspeci=0,nrcif=0; | ^