Borderou de evaluare (job #2538705)

Utilizator conexcone conex conex Data 4 februarie 2020 23:05:11
Problema Deminare Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:16:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1;i<=m;i++) ^~~ main.cpp:17:22: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' fin>>x1>>x2; a[x1][x2]=1; ^ main.cpp:29:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(maxim==r[t]) ^~ main.cpp:30:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' q++;o[q]=t; ^ main.cpp:8:61: warning: unused variable 'y1' [-Wunused-variable] int l, c, s, maxim, a[500][500], r[500], m, o[500], x1, y1, x2, y2, i, j, v, t, q; ^~ main.cpp:8:69: warning: unused variable 'y2' [-Wunused-variable] int l, c, s, maxim, a[500][500], r[500], m, o[500], x1, y1, x2, y2, i, j, v, t, q; ^~ main.cpp:24:9: warning: 'maxim' may be used uninitialized in this function [-Wmaybe-uninitialized] r[1]=maxim; ~~~~^~~~~~ main.cpp:20:14: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized] s=s+a[i][j]; ~^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOkay!10
22ms131kbRaspuns gresit0
32ms262kbRaspuns gresit0
45ms393kbRaspuns gresit0
524ms786kbRaspuns gresit0
656ms1179kbKilled by Signal 110
73ms524kbRaspuns gresit0
82ms131kbRaspuns gresit0
92ms131kbRaspuns gresit0
103ms393kbRaspuns gresit0
119ms524kbRaspuns gresit0
1231ms917kbRaspuns gresit0
1340ms917kbRaspuns gresit0
1448ms1048kbRaspuns gresit0
1555ms1179kbRaspuns gresit0
1624ms786kbRaspuns gresit0
1741ms1179kbRaspuns gresit0
1818ms655kbRaspuns gresit0
194ms262kbRaspuns gresit0
2043ms917kbRaspuns gresit0
2124ms1048kbRaspuns gresit0
2295ms1179kbKilled by Signal 110
2358ms1179kbKilled by Signal 110
Punctaj total10

Ceva nu functioneaza?