Borderou de evaluare (job #3005366)

Utilizator teochess2017Togan Teodor-Bogdan teochess2017 Data 16 martie 2023 21:58:21
Problema Rj Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'void BFS()': main.cpp:50:57: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses] 50 | }else if((q[p.rom % MOD].l.rom + dirl[i]) < lin == lin){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ main.cpp:75:57: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses] 75 | }else if((q[p.jul % MOD].l.jul + dirl[i]) < lin == lin){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ main.cpp:101:10: warning: 'col' may be used uninitialized [-Wmaybe-uninitialized] 101 | fprintf(fout, "%d %d %d", lenght - 1, lin, col); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:26:32: note: 'col' was declared here 26 | int i, lenght = 2, lin = -1, col; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbOK1050
20ms303kbOK10
30ms303kbOK10
40ms303kbOK10
50ms303kbOK10
60ms303kbOK100
70ms303kbOK10
80ms303kbOK10
90ms303kbOK10
100ms303kbIncorect0
Punctaj total50

Ceva nu functioneaza?