Pagini recente » Borderou de evaluare (job #2672725) | Borderou de evaluare (job #2140673) | Borderou de evaluare (job #2887192) | Borderou de evaluare (job #2647851) | Borderou de evaluare (job #2646124)
Borderou de evaluare (job #2646124)
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 play()':
main.cpp:435: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:435:27: warning: 'posx' may be used uninitialized in this function [-Wmaybe-uninitialized]
int ii=posx+Knight[t].first,jj=posy+Knight[t].second;
^~~~~
main.cpp:390:47: warning: 'posy' may be used uninitialized in this function [-Wmaybe-uninitialized]
int ii=posx+Rook[t].first,jj=posy+Rook[t].second;
^~~~~~
main.cpp:390:25: warning: 'posx' may be used uninitialized in this function [-Wmaybe-uninitialized]
int ii=posx+Rook[t].first,jj=posy+Rook[t].second;
^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 2 | 0 |
2 | 2ms | 131kb | OK | 2 |
3 | 2ms | 131kb | OK | 2 |
4 | 2ms | 131kb | OK | 2 |
5 | 2ms | 131kb | Incorect | 0 |
6 | 2ms | 131kb | OK | 2 |
7 | 2ms | 131kb | OK | 2 |
8 | 2ms | 131kb | OK | 2 |
9 | 2ms | 131kb | OK | 2 |
10 | 2ms | 131kb | OK | 2 |
11 | 2ms | 131kb | Incorect | 0 |
12 | 2ms | 131kb | OK | 2 |
13 | 2ms | 131kb | OK | 2 |
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 | Incorect | 0 |
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 | OK | 2 |
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 |