Borderou de evaluare (job #3138930)

Utilizator David2007David Preda David2007 Data 23 iunie 2023 14:16:35
Problema Insule Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 52

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
20ms303kbLungime minima gresita4
30ms303kbLungime minima gresita4
40ms303kbLungime minima gresita4
50ms303kbLungime minima gresita4
60ms303kbLungime minima gresita4
70ms303kbLungime minima gresita4
80ms303kbLungime minima gresita4
91ms303kbOK!10
100ms303kbLungime minima gresita4
Punctaj total52

Ceva nu functioneaza?