Borderou de evaluare (job #1994151)

Utilizator valentin50517Vozian Valentin valentin50517 Data 24 iunie 2017 11:39:09
Problema Mosia Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

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
10ms520kbCorect5
20ms524kbCorect5
30ms520kbIncorect0
40ms524kbCorect5
50ms528kbCorect5
60ms516kbIncorect0
70ms520kbCorect5
80ms520kbCorect5
90ms520kbCorect5
100ms532kbCorect5
110ms544kbIncorect0
120ms544kbIncorect0
130ms556kbIncorect0
140ms556kbIncorect0
150ms560kbIncorect0
160ms564kbIncorect0
170ms564kbIncorect0
180ms564kbIncorect0
190ms560kbIncorect0
200ms564kbIncorect0
Punctaj total40

Ceva nu functioneaza?