Borderou de evaluare (job #3292424)

Utilizator LucaMirsolea14Luca Mirsolea LucaMirsolea14 Data 8 aprilie 2025 11:58:12
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:112:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 112 | if(i==1&&j==1) | ^~ main.cpp:114:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 114 | if(mat[i][j]==1){ | ^~ main.cpp:21:10: warning: array subscript -1 is below array bounds of 'int [102][102]' [-Warray-bounds] 21 | sp[-1][i]=0; | ~~~~~^ main.cpp:7:21: note: while referencing 'sp' 7 | int n,mat[102][102],sp[102][102], sptot[102][102]; | ^~ main.cpp:22:13: warning: array subscript -1 is below array bounds of 'int [102]' [-Warray-bounds] 22 | sp[i][-1]=0; | ~~~~~~~~^ main.cpp:7:21: note: while referencing 'sp' 7 | int n,mat[102][102],sp[102][102], sptot[102][102]; | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbDrum gresit3
21ms1081kbDrum gresit3
31ms1343kbDrum gresit3
41ms819kbDrum gresit3
53ms3178kbDrum gresit3
62ms819kbNu trebuie drum3
71ms819kbNu trebuie drum3
80ms557kbDrum gresit3
91ms2129kbDrum gresit3
100ms303kbOK!10
Punctaj total37

Ceva nu functioneaza?