Borderou de evaluare (job #3140428)

Utilizator David2007David Preda David2007 Data 6 iulie 2023 12:12:14
Problema Insule Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:113:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 113 | for(i=1; i<=n; i++) | ^~~ main.cpp:125:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 125 | for(i=1;i<=n;i++) | ^~~ main.cpp: In function 'void bordare()': main.cpp:25:33: warning: array subscript -1 is below array bounds of 'int [104]' [-Warray-bounds] 25 | v[i][-1]=v[i][m]=w[i][-1]=w[i][m]=500000; | ~~~~~~~^ main.cpp:7:17: note: while referencing 'w' 7 | int v[104][104],w[104][104],le[104][104]; | ^ main.cpp:25:16: warning: array subscript -1 is below array bounds of 'int [104]' [-Warray-bounds] 25 | v[i][-1]=v[i][m]=w[i][-1]=w[i][m]=500000; | ~~~~~~~^ main.cpp:7:5: note: while referencing 'v' 7 | int v[104][104],w[104][104],le[104][104]; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK!10
20ms303kbOK!10
30ms303kbOK!10
40ms303kbOK!10
50ms303kbOK!10
60ms303kbOK!10
70ms303kbOK!10
80ms557kbOK!10
91ms557kbOK!10
100ms303kbOK!10
Punctaj total100

Ceva nu functioneaza?