Pagini recente » Borderou de evaluare (job #2889180) | Borderou de evaluare (job #1045303) | Borderou de evaluare (job #1598812) | Borderou de evaluare (job #1147403) | Borderou de evaluare (job #1994150)
Borderou de evaluare (job #1994150)
Raport evaluator
Compilare:
user.cpp: In function ‘bool cmp(my, my)’:
user.cpp:11:84: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
bool cmp(my a,my b){return cww(V[1],a,b) < 0 || (cww(V[1],a,b) == 0 && (a.y != b.y && a.x < b.x || a.y == b.y && a.x > b.x || a.x == b.x && a.y < b.y));}
^
user.cpp:11:138: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
bool cmp(my a,my b){return cww(V[1],a,b) < 0 || (cww(V[1],a,b) == 0 && (a.y != b.y && a.x < b.x || a.y == b.y && a.x > b.x || a.x == b.x && a.y < b.y));}
^
user.cpp: In function ‘int main()’:
user.cpp:19:32: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(V[poz].x < V[poz].x || V[poz].x == V[poz].x && V[poz].y < V[poz].y) poz = i;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 508kb | Corect | 5 |
2 | 0ms | 512kb | Incorect | 0 |
3 | 0ms | 512kb | Incorect | 0 |
4 | 0ms | 508kb | Corect | 5 |
5 | 0ms | 516kb | Corect | 5 |
6 | 0ms | 508kb | Incorect | 0 |
7 | 0ms | 508kb | Corect | 5 |
8 | 0ms | 508kb | Corect | 5 |
9 | 0ms | 508kb | Corect | 5 |
10 | 0ms | 524kb | Corect | 5 |
11 | 0ms | 528kb | Corect | 5 |
12 | 0ms | 532kb | Corect | 5 |
13 | 0ms | 544kb | Incorect | 0 |
14 | 0ms | 548kb | Corect | 5 |
15 | 0ms | 548kb | Incorect | 0 |
16 | 0ms | 552kb | Corect | 5 |
17 | 0ms | 548kb | Incorect | 0 |
18 | 0ms | 548kb | Corect | 5 |
19 | 0ms | 552kb | Corect | 5 |
20 | 0ms | 552kb | Incorect | 0 |
Punctaj total | 65 |