Borderou de evaluare (job #2937334)

Utilizator Ricardo14Olaru Ricardo Ricardo14 Data 10 noiembrie 2022 10:47:10
Problema Tsunami Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'void ffill(int, int, int, int)': main.cpp:10:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 10 | if(mat[i][j]>0) | ^~ main.cpp:12:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 12 | mat[i][j]=-1; | ^~~ main.cpp: In function 'int main()': main.cpp:48:24: warning: unused variable 'cnt' [-Wunused-variable] 48 | int n, m, h, i, j, cnt = 0; | ^~~ main.cpp: In function 'void ffill(int, int, int, int)': main.cpp:11:8: warning: array subscript 1 is above array bounds of 'int [1]' [-Warray-bounds] 11 | v[1]++; | ~~~^ main.cpp:5:5: note: while referencing 'v' 5 | int v[1]; | ^ main.cpp:11:8: warning: array subscript 1 is above array bounds of 'int [1]' [-Warray-bounds] 11 | v[1]++; | ~~~^ main.cpp:5:5: note: while referencing 'v' 5 | int v[1]; | ^ main.cpp: In function 'int main()': main.cpp:86:16: warning: array subscript 1 is above array bounds of 'int [1]' [-Warray-bounds] 86 | cout << v[1]; | ^ main.cpp:5:5: note: while referencing 'v' 5 | int v[1]; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
113ms19890kbKilled by Signal 90
20ms184kbOK10
385ms20496kbMemory limit exceeded0
45ms2281kbKilled by Signal 110
512ms1851kbOK10
682ms17965kbOK10
790ms14082kbOK10
828ms17854kbKilled by Signal 90
973ms9928kbKilled by Signal 110
1079ms20254kbKilled by Signal 90
Punctaj total40

Ceva nu functioneaza?