Pagini recente » Borderou de evaluare (job #457636) | Borderou de evaluare (job #1468733) | Borderou de evaluare (job #1794543) | Borderou de evaluare (job #1647442) | Borderou de evaluare (job #2308424)
Borderou de evaluare (job #2308424)
Raport evaluator
Compilare:
main.cpp: In function 'int Lee(int, int)':
main.cpp:56:129: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if((q.front().first==O[s][0] && q.front().second==O[s][1]) || ((q.front().first>O[0][0] && q.front().second>O[0][1] && q.front().first<=O[s][0] && q.front().second<=O[s][1]) || (q.front().first<O[0][0] && q.front().second<O[0][1] && q.front().first>=O[s][0] && q.front().second>=O[s][1]))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&& abs(q.front().first-O[s][0])==abs(q.front().second-O[s][1]) && abs(q.front().first-O[0][0])==abs(q.front().second-O[0][1]) && abs(O[0][0]-O[s][0])==abs(O[0][1]-O[s][1])){
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:23:7: warning: unused variable 'stop' [-Wunused-variable]
bool stop=false;
^~~~
main.cpp: In function 'int main()':
main.cpp:88:5: warning: array subscript is above array bounds [-Warray-bounds]
O[2][0]=y;
~~~^
main.cpp:89:5: warning: array subscript is above array bounds [-Warray-bounds]
O[2][1]=x;
~~~^
main.cpp:92:5: warning: array subscript is above array bounds [-Warray-bounds]
O[3][0]=y;
~~~^
main.cpp:93:5: warning: array subscript is above array bounds [-Warray-bounds]
O[3][1]=x;
~~~^
main.cpp:96:5: warning: array subscript is above array bounds [-Warray-bounds]
O[4][0]=y;
~~~^
main.cpp:97:5: warning: array subscript is above array bounds [-Warray-bounds]
O[4][1]=x;
~~~^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 9ms | 4194kb | Raspuns gresit | 0 |
2 | 9ms | 4194kb | Primul numar corect | 1 |
3 | 10ms | 4194kb | Primul numar corect | 1 |
4 | 13ms | 4194kb | Raspuns gresit | 0 |
5 | 13ms | 4194kb | Raspuns gresit | 0 |
6 | 22ms | 4194kb | Raspuns gresit | 0 |
7 | 10ms | 4194kb | Primul numar corect | 1 |
8 | 9ms | 4194kb | Primul numar corect | 1 |
9 | 14ms | 4194kb | Raspuns gresit | 0 |
10 | 14ms | 4194kb | Primul numar corect | 1 |
11 | 22ms | 4194kb | Primul numar corect | 1 |
12 | 77ms | 4194kb | Raspuns gresit | 0 |
13 | 58ms | 4194kb | Raspuns gresit | 0 |
14 | 63ms | 4194kb | Raspuns gresit | 0 |
15 | 27ms | 4194kb | Primul numar corect | 1 |
16 | 19ms | 4194kb | Primul numar corect | 1 |
17 | 28ms | 4194kb | Raspuns gresit | 0 |
18 | 61ms | 4194kb | Raspuns gresit | 0 |
19 | 56ms | 4194kb | Raspuns gresit | 0 |
20 | 60ms | 4194kb | Primul numar corect | 1 |
Punctaj total | 9 |