Pagini recente » Borderou de evaluare (job #1767168) | Borderou de evaluare (job #136384) | Borderou de evaluare (job #1986070) | Borderou de evaluare (job #1113741) | Borderou de evaluare (job #2308431)
Borderou de evaluare (job #2308431)
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:70:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 23ms | 12320kb | OK | 5 |
2 | 27ms | 12320kb | Primul numar corect | 1 |
3 | 28ms | 12320kb | OK | 5 |
4 | 37ms | 12320kb | OK | 5 |
5 | 46ms | 12320kb | OK | 5 |
6 | 64ms | 12320kb | Primul numar corect | 1 |
7 | 30ms | 12320kb | OK | 5 |
8 | 28ms | 12320kb | Primul numar corect | 1 |
9 | 43ms | 12451kb | OK | 5 |
10 | 115ms | 12451kb | Primul numar corect | 1 |
11 | 132ms | 12451kb | Primul numar corect | 1 |
12 | 196ms | 12451kb | Primul numar corect | 1 |
13 | 76ms | 12451kb | OK | 5 |
14 | 138ms | 12451kb | OK | 5 |
15 | 303ms | 12320kb | Time limit exceeded | 0 |
16 | 300ms | 12320kb | Time limit exceeded | 0 |
17 | 41ms | 12451kb | Primul numar corect | 1 |
18 | 132ms | 12451kb | OK | 5 |
19 | 131ms | 12451kb | OK | 5 |
20 | 300ms | 12451kb | Time limit exceeded | 0 |
Punctaj total | 57 |