Borderou de evaluare (job #819482)

Utilizator avatar maiaciobanu Ciobanu Maia maiaciobanu IP ascuns
Problemă Căutare (clasa a 6-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 8 apr. 2025 18:14:16 Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:18:7: warning: statement has no effect [-Wunused-value] 18 | ok==0; | ~~^~~ main.cpp:19:16: warning: left operand of comma operator has no effect [-Wunused-value] 19 | for(i=ci,I=1; i<=cm,I<=m; i++,I++) | ~^~~~ main.cpp:20:21: warning: left operand of comma operator has no effect [-Wunused-value] 20 | for(j=ci,cj=1; j<=cm,cj<=m; j++,cj++) | ~^~~~ main.cpp:19:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 19 | for(i=ci,I=1; i<=cm,I<=m; i++,I++) | ^~~ main.cpp:23:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 23 | if(ok==0) | ^~ main.cpp:7:14: warning: unused variable 'r' [-Wunused-variable] 7 | {int n,m,i,j,r=0,ci,cm,ok=0,cnt=0,I,cj; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 507 kb Incorect 0
3 1 ms 266 kb Incorect 0
4 1 ms 245 kb Incorect 0
5 1 ms 245 kb Incorect 0
6 1 ms 245 kb Incorect 0
7 1 ms 245 kb OK 10
8 1 ms 245 kb Incorect 0
9 1 ms 245 kb Incorect 0
10 1 ms 245 kb Incorect 0
Punctaj total 10