Borderou de evaluare (job #1994151)
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:52: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(V[i].x < V[poz].x || V[i].x == V[poz].x && V[i].y < V[poz].y) poz = i;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 520kb | Corect | 5 |
| 2 | 0ms | 524kb | Corect | 5 |
| 3 | 0ms | 520kb | Incorect | 0 |
| 4 | 0ms | 524kb | Corect | 5 |
| 5 | 0ms | 528kb | Corect | 5 |
| 6 | 0ms | 516kb | Incorect | 0 |
| 7 | 0ms | 520kb | Corect | 5 |
| 8 | 0ms | 520kb | Corect | 5 |
| 9 | 0ms | 520kb | Corect | 5 |
| 10 | 0ms | 532kb | Corect | 5 |
| 11 | 0ms | 544kb | Incorect | 0 |
| 12 | 0ms | 544kb | Incorect | 0 |
| 13 | 0ms | 556kb | Incorect | 0 |
| 14 | 0ms | 556kb | Incorect | 0 |
| 15 | 0ms | 560kb | Incorect | 0 |
| 16 | 0ms | 564kb | Incorect | 0 |
| 17 | 0ms | 564kb | Incorect | 0 |
| 18 | 0ms | 564kb | Incorect | 0 |
| 19 | 0ms | 560kb | Incorect | 0 |
| 20 | 0ms | 564kb | Incorect | 0 |
| Punctaj total | 40 |