Pagini recente » Borderou de evaluare (job #148739) | Cod sursa (job #2906841) | Borderou de evaluare (job #1419337) | Borderou de evaluare (job #132652) | Borderou de evaluare (job #2999386)
Borderou de evaluare (job #2999386)
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 |
| 1 | 0ms | 184kb | Killed by Signal 11 | 0 | 0 |
| 2 | 0ms | 184kb | OK | 10 |
| 3 | 2ms | 315kb | OK | 10 |
| 4 | 0ms | 184kb | OK | 10 |
| 5 | 0ms | 184kb | OK | 10 |
| 6 | 0ms | 184kb | OK | 10 | 50 |
| 7 | 0ms | 303kb | OK | 10 |
| 8 | 0ms | 303kb | OK | 10 |
| 9 | 0ms | 172kb | OK | 10 |
| 10 | 0ms | 303kb | OK | 10 |
| Punctaj total | 50 |