Borderou de evaluare (job #2999386)

Utilizator NIIN100Nistor Nichita NIIN100 Data 10 martie 2023 22:14:25
Problema Rj Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:119:34: warning: 'cf' may be used uninitialized [-Wmaybe-uninitialized] 119 | out<<mini<<" "<<lf<<" "<<cf; | ^~ main.cpp:20:124: note: 'cf' was declared here 20 | short n, m, lr, cr, lj, cj, lc, cc, vl[8]={0, 1, 0, -1, -1, -1, 1, 1}, vc[8]={-1, 0, 1, 0, -1, 1, -1, 1}, aux, lf, cf; | ^~ main.cpp:119:29: warning: 'lf' may be used uninitialized [-Wmaybe-uninitialized] 119 | out<<mini<<" "<<lf<<" "<<cf; | ^~~ main.cpp:20:120: note: 'lf' was declared here 20 | short n, m, lr, cr, lj, cj, lc, cc, vl[8]={0, 1, 0, -1, -1, -1, 1, 1}, vc[8]={-1, 0, 1, 0, -1, 1, -1, 1}, aux, lf, cf; | ^~ main.cpp:94:17: warning: 'cj' may be used uninitialized [-Wmaybe-uninitialized] 94 | jul[lj][cj]=1; | ^~ main.cpp:20:33: note: 'cj' was declared here 20 | short n, m, lr, cr, lj, cj, lc, cc, vl[8]={0, 1, 0, -1, -1, -1, 1, 1}, vc[8]={-1, 0, 1, 0, -1, 1, -1, 1}, aux, lf, cf; | ^~ main.cpp:94:13: warning: 'lj' may be used uninitialized [-Wmaybe-uninitialized] 94 | jul[lj][cj]=1; | ^~ main.cpp:20:29: note: 'lj' was declared here 20 | short n, m, lr, cr, lj, cj, lc, cc, vl[8]={0, 1, 0, -1, -1, -1, 1, 1}, vc[8]={-1, 0, 1, 0, -1, 1, -1, 1}, aux, lf, cf; | ^~ main.cpp:73:17: warning: 'cr' may be used uninitialized [-Wmaybe-uninitialized] 73 | rom[lr][cr]=1; | ^~ main.cpp:20:25: note: 'cr' was declared here 20 | short n, m, lr, cr, lj, cj, lc, cc, vl[8]={0, 1, 0, -1, -1, -1, 1, 1}, vc[8]={-1, 0, 1, 0, -1, 1, -1, 1}, aux, lf, cf; | ^~ main.cpp:73:13: warning: 'lr' may be used uninitialized [-Wmaybe-uninitialized] 73 | rom[lr][cr]=1; | ^~ main.cpp:20:21: note: 'lr' was declared here 20 | short n, m, lr, cr, lj, cj, lc, cc, vl[8]={0, 1, 0, -1, -1, -1, 1, 1}, vc[8]={-1, 0, 1, 0, -1, 1, -1, 1}, aux, lf, cf; | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms184kbKilled by Signal 1100
20ms184kbOK10
32ms315kbOK10
40ms184kbOK10
50ms184kbOK10
60ms184kbOK1050
70ms303kbOK10
80ms303kbOK10
90ms172kbOK10
100ms303kbOK10
Punctaj total50

Ceva nu functioneaza?