Borderou de evaluare (job #1771738)

Utilizator ArkinyStoica Alex Arkiny Data 5 octombrie 2016 22:29:19
Problema Arie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In member function ‘bool LINE2D::intersects(LINE2D, POINT2D&)’: user.cpp:62:24: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if ((p2.x >= l.p1.x && p2.x <= l.p2.x || p2.x <= l.p1.x && p2.x >= l.p2.x) && (p.y >= p1.y && p.y <= p2.y || p.y <= p1.y && p.y >= p2.y)) ^ user.cpp:62:95: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if ((p2.x >= l.p1.x && p2.x <= l.p2.x || p2.x <= l.p1.x && p2.x >= l.p2.x) && (p.y >= p1.y && p.y <= p2.y || p.y <= p1.y && p.y >= p2.y)) ^ user.cpp:74:24: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if ((l.p2.x >= p1.x && l.p2.x <= p2.x || l.p2.x <= p1.x && l.p2.x >= p2.x) && (p.y >= l.p1.y && p.y <= l.p2.y || p.y <= l.p1.y && p.y >= l.p2.y)) ^ user.cpp:74:97: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if ((l.p2.x >= p1.x && l.p2.x <= p2.x || l.p2.x <= p1.x && l.p2.x >= p2.x) && (p.y >= l.p1.y && p.y <= l.p2.y || p.y <= l.p1.y && p.y >= l.p2.y)) ^ user.cpp:88:20: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if (((x >= p1.x && x <= p2.x || x <= p1.x && x >= p2.x) && (y >= p1.y && y <= p2.y || y <= p1.y && y >= p2.y)) ^ user.cpp:88:74: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if (((x >= p1.x && x <= p2.x || x <= p1.x && x >= p2.x) && (y >= p1.y && y <= p2.y || y <= p1.y && y >= p2.y)) ^ user.cpp:89:22: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] && ((x >= l.p1.x && x <= l.p2.x || x <= l.p1.x && x >= l.p2.x) && (y >= l.p1.y && y <= l.p2.y || y <= l.p1.y && y >= l.p2.y))) ^ user.cpp:89:84: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] && ((x >= l.p1.x && x <= l.p2.x || x <= l.p1.x && x >= l.p2.x) && (y >= l.p1.y && y <= l.p2.y || y <= l.p1.y && y >= l.p2.y))) ^ user.cpp: In member function ‘int Polygon::point_inside_polygon(POINT2D)’: user.cpp:134:29: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if (p.y >= points[i].y && p.y <= points[i + 1].y || p.y >= points[i + 1].y && p.y <= points[i].y) ^ user.cpp:148:28: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if (p.y >= points[1].y && p.y <= points[number_points].y || p.y >= points[number_points].y && p.y <= points[1].y) ^ user.cpp: In member function ‘void Polygon::trigonometric_order()’: user.cpp:215:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0;i < stack.size();++i) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms508kbOK10
20ms508kbIncorect0
30ms516kbIncorect0
40ms508kbIncorect0
50ms508kbIncorect0
60ms508kbOK10
70ms516kbOK10
80ms508kbIncorect0
90ms512kbIncorect0
100ms504kbIncorect0
Punctaj total30

Ceva nu functioneaza?