Borderou de evaluare (job #3033070)

Utilizator Remus.RughinisRemus Rughinis Remus.Rughinis Data 23 martie 2023 12:14:27
Problema Walle Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 45

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:153:12: warning: 'b.Max::j' may be used uninitialized [-Wmaybe-uninitialized] 153 | getDist(b.i, b.j, d[a.i][a.j]); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:132:10: note: 'b.Max::j' was declared here 132 | Max a, b; | ^ main.cpp:153:12: warning: 'b.Max::i' may be used uninitialized [-Wmaybe-uninitialized] 153 | getDist(b.i, b.j, d[a.i][a.j]); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:132:10: note: 'b.Max::i' was declared here 132 | Max a, b; | ^ main.cpp:152:3: warning: 'b.Max::max' may be used uninitialized [-Wmaybe-uninitialized] 152 | if(b.max != MAXVAL) | ^~ main.cpp:132:10: note: 'b.Max::max' was declared here 132 | Max a, b; | ^ main.cpp:153:12: warning: 'a.Max::j' may be used uninitialized [-Wmaybe-uninitialized] 153 | getDist(b.i, b.j, d[a.i][a.j]); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:132:7: note: 'a.Max::j' was declared here 132 | Max a, b; | ^ main.cpp:153:12: warning: 'a.Max::i' may be used uninitialized [-Wmaybe-uninitialized] 153 | getDist(b.i, b.j, d[a.i][a.j]); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:132:7: note: 'a.Max::i' was declared here 132 | Max a, b; | ^ main.cpp:136:23: warning: 'a.Max::max' may be used uninitialized [-Wmaybe-uninitialized] 136 | if(v[i][j] == 2 && d[i][j] > a.max){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ main.cpp:132:7: note: 'a.Max::max' was declared here 132 | Max a, b; | ^ main.cpp:151:10: warning: 'pcol' may be used uninitialized [-Wmaybe-uninitialized] 151 | getDist(plin, pcol, 0); | ~~~~~~~^~~~~~~~~~~~~~~ main.cpp:89:31: note: 'pcol' was declared here 89 | int i, j, elin, ecol, plin, pcol; | ^~~~ main.cpp:151:10: warning: 'plin' may be used uninitialized [-Wmaybe-uninitialized] 151 | getDist(plin, pcol, 0); | ~~~~~~~^~~~~~~~~~~~~~~ main.cpp:89:25: note: 'plin' was declared here 89 | int i, j, elin, ecol, plin, pcol; | ^~~~ main.cpp:158:18: warning: 'ecol' may be used uninitialized [-Wmaybe-uninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms434kbKilled by Signal 110
20ms557kbOK1
33ms1605kbOK6
45ms2396kbIncorect0
51ms1867kbOK8
62ms1867kbOK1
77ms2392kbIncorect0
80ms557kbOK6
90ms557kbOK6
100ms557kbIncorect0
110ms557kbOK1
120ms557kbOK3
130ms557kbOK3
140ms557kbOK3
150ms557kbIncorect0
160ms557kbIncorect0
171ms1081kbOK1
186ms1867kbOK4
194ms2392kbIncorect0
204ms1343kbOK2
217ms2392kbIncorect0
224ms417kbKilled by Signal 110
236ms421kbKilled by Signal 110
240ms303kbIncorect0
251ms557kbIncorect0
Punctaj total45

Ceva nu functioneaza?