Borderou de evaluare (job #3292428)

Utilizator LucaMirsolea14Luca Mirsolea LucaMirsolea14 Data 8 aprilie 2025 12:01:29
Problema Lacuri Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 37

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:119:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 119 | if(i==1&&j==1) | ^~ main.cpp:121:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 121 | if(mat[i][j]==1){ | ^~ main.cpp:21:10: warning: array subscript -1 is below array bounds of 'int [202][202]' [-Warray-bounds] 21 | sp[-1][i]=0; | ~~~~~^ main.cpp:7:21: note: while referencing 'sp' 7 | int n,mat[202][202],sp[202][202], sptot[202][202]; | ^~ main.cpp:22:13: warning: array subscript -1 is below array bounds of 'int [202]' [-Warray-bounds] 22 | sp[i][-1]=0; | ~~~~~~~~^ main.cpp:7:21: note: while referencing 'sp' 7 | int n,mat[202][202],sp[202][202], sptot[202][202]; | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbDrum gresit3
21ms1343kbDrum gresit3
31ms1605kbDrum gresit3
41ms819kbDrum gresit3
53ms3702kbDrum gresit3
62ms1081kbNu trebuie drum3
72ms1085kbNu trebuie drum3
81ms557kbDrum gresit3
92ms2129kbDrum gresit3
100ms303kbOK!10
Punctaj total37

Ceva nu functioneaza?