Borderou de evaluare (job #805938)

Utilizator avatar David_46 Bosoancă David-Vasile David_46 IP ascuns
Problemă Permcif Compilator cpp-32
Rundă oli_cntv_9 Status evaluat
Dată 24 ian. 2025 11:04:20 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:28:20: error: 'nc1' was not declared in this scope; did you mean 'nc'? 28 | for(k=1;k<=nc1 2 | ^~~ | nc main.cpp:28:23: error: expected ';' before numeric constant 28 | for(k=1;k<=nc1 2 | ^~ | ; main.cpp:28:24: warning: for increment expression has no effect [-Wunused-value] 28 | for(k=1;k<=nc1 2 | ^ main.cpp:28:25: error: expected ')' before numeric constant 28 | for(k=1;k<=nc1 2 | ~ ^ | ) 29 | 11 11 | ~~ main.cpp:29:3: error: expected ';' before numeric constant 29 | 11 11 | ^~~ | ; main.cpp:29:1: warning: statement has no effect [-Wunused-value] 29 | 11 11 | ^~ main.cpp:32:17: error: expected ';' before ')' token 32 | 100 1&&ok!=1;k++) | ^ | ;