Borderou de evaluare (job #1722026)

Utilizator depevladVlad Dumitru-Popescu depevlad Data 27 iunie 2016 01:54:17
Problema Oypara Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In member function ‘bool Point::operator<(const Point&) const’: user.cpp:12:57: warning: second operand of conditional expression has no effect [-Wunused-value] bool operator <(const Point &o) const { (x == o.x ? y < o.y : x < o.x); } ^ user.cpp:12:67: warning: third operand of conditional expression has no effect [-Wunused-value] bool operator <(const Point &o) const { (x == o.x ? y < o.y : x < o.x); } ^ user.cpp:12:75: warning: no return statement in function returning non-void [-Wreturn-type] bool operator <(const Point &o) const { (x == o.x ? y < o.y : x < o.x); } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms2756kbNu intersecteaza un segment0
20ms2752kbOK!10
332ms2764kbNu intersecteaza un segment0
440ms2760kbNu intersecteaza un segment0
560ms2760kbNu intersecteaza un segment0
672ms2760kbNu intersecteaza un segment0
784ms2756kbNu intersecteaza un segment0
896ms2760kbNu intersecteaza un segment0
9104ms2760kbNu intersecteaza un segment0
100ms2752kbOK!10
Punctaj total20

Ceva nu functioneaza?