Pagini recente » Cod sursa (job #67643) | Cod sursa (job #794241) | Borderou de evaluare (job #2682251) | Borderou de evaluare (job #1879857) | Borderou de evaluare (job #2646125)
Borderou de evaluare (job #2646125)
Raport evaluator
Compilare:
main.cpp: In function 'bool Check(int)':
main.cpp:112:19: warning: left operand of comma operator has no effect [-Wunused-value]
if(cmat1[newx,newy]) break;
^~~~
main.cpp:114:18: warning: left operand of comma operator has no effect [-Wunused-value]
if(cmat[newx,newy]) break;
^~~~
main.cpp:116:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if(colour>0)
^
main.cpp:135:19: warning: left operand of comma operator has no effect [-Wunused-value]
if(cmat1[newx,newy]) break;
^~~~
main.cpp:137:18: warning: left operand of comma operator has no effect [-Wunused-value]
if(cmat[newx,newy]) break;
^~~~
main.cpp:139:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if(colour>0)
^
main.cpp:158:19: warning: left operand of comma operator has no effect [-Wunused-value]
if(cmat1[newx,newy]) break;
^~~~
main.cpp:160:18: warning: left operand of comma operator has no effect [-Wunused-value]
if(cmat[newx,newy]) break;
^~~~
main.cpp:162:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if(colour>0)
^
main.cpp:181:19: warning: left operand of comma operator has no effect [-Wunused-value]
if(cmat1[newx,newy]) break;
^~~~
main.cpp:183:18: warning: left operand of comma operator has no effect [-Wunused-value]
if(cmat[newx,newy]) break;
^~~~
main.cpp:185:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if(colour>0)
^
main.cpp: In function 'void black_move()':
main.cpp:289:25: warning: iteration 4 invokes undefined behavior [-Waggressive-loop-optimizations]
int ii=i+Bishop[k].first;
~~~~~~~~~~^~~~~
main.cpp:287:18: note: within this loop
for(int k=0;k<8;k++)
~^~
main.cpp: In function 'void play()':
main.cpp:489:51: warning: 'posy' may be used uninitialized in this function [-Wmaybe-uninitialized]
int ii=posx+Knight[t].first,jj=posy+Knight[t].second;
^~~~~~
main.cpp:489:27: warning: 'posx' may be used uninitialized in this function [-Wmaybe-uninitialized]
int ii=posx+Knight[t].first,jj=posy+Knight[t].second;
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | OK | 2 | 0 |
| 2 | 2ms | 131kb | Incorect | 0 |
| 3 | 2ms | 131kb | OK | 2 |
| 4 | 2ms | 131kb | OK | 2 |
| 5 | 2ms | 131kb | Incorect | 0 |
| 6 | 2ms | 131kb | Incorect | 0 |
| 7 | 2ms | 131kb | OK | 2 |
| 8 | 2ms | 131kb | OK | 2 |
| 9 | 2ms | 131kb | OK | 2 |
| 10 | 2ms | 131kb | Incorect | 0 |
| 11 | 2ms | 131kb | OK | 2 |
| 12 | 2ms | 131kb | OK | 2 |
| 13 | 2ms | 131kb | Incorect | 0 |
| 14 | 2ms | 131kb | OK | 2 |
| 15 | 2ms | 131kb | OK | 2 |
| 16 | 2ms | 131kb | OK | 2 |
| 17 | 2ms | 131kb | Incorect | 0 |
| 18 | 2ms | 131kb | OK | 2 |
| 19 | 2ms | 131kb | Incorect | 0 |
| 20 | 2ms | 131kb | Incorect | 0 |
| 21 | 2ms | 131kb | OK | 2 |
| 22 | 2ms | 131kb | OK | 2 |
| 23 | 2ms | 131kb | Incorect | 0 |
| 24 | 2ms | 131kb | Incorect | 0 |
| 25 | 2ms | 131kb | OK | 2 |
| 26 | 2ms | 131kb | OK | 2 |
| 27 | 2ms | 131kb | Incorect | 0 |
| 28 | 2ms | 131kb | Incorect | 0 |
| 29 | 2ms | 131kb | OK | 2 |
| 30 | 2ms | 131kb | OK | 2 |
| 31 | 2ms | 131kb | Incorect | 0 |
| 32 | 2ms | 131kb | Incorect | 0 |
| 33 | 2ms | 131kb | OK | 2 |
| 34 | 2ms | 131kb | OK | 2 |
| 35 | 2ms | 131kb | Incorect | 0 |
| 36 | 2ms | 131kb | OK | 2 |
| 37 | 2ms | 131kb | Incorect | 0 |
| 38 | 2ms | 131kb | OK | 2 |
| 39 | 2ms | 131kb | Incorect | 0 |
| 40 | 2ms | 131kb | OK | 2 |
| 41 | 2ms | 131kb | Incorect | 0 |
| 42 | 2ms | 131kb | OK | 2 |
| 43 | 2ms | 131kb | Incorect | 0 |
| 44 | 2ms | 131kb | Incorect | 0 |
| 45 | 2ms | 131kb | OK | 2 |
| 46 | 2ms | 131kb | OK | 2 |
| 47 | 2ms | 131kb | OK | 2 |
| 48 | 2ms | 131kb | OK | 2 |
| 49 | 2ms | 131kb | OK | 2 |
| 50 | 2ms | 131kb | OK | 2 |
| Punctaj total | 0 |