Borderou de evaluare (job #3200865)

Utilizator not_anduAndu Scheusan not_andu Data 5 februarie 2024 22:15:21
Problema Triang Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In member function 'bool Point::operator<(const Point&) const': main.cpp:22:72: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 22 | return (this -> x < other.x || fabs(other.x - this -> x) < EPS && this -> y < other.y); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'bool compare(Point&, Point&)': main.cpp:31:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 31 | return (a.x < b.x || fabs(b.y - a.x) < EPS && a.y < b.y); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms303kbOk!10
23ms303kbOk!10
35ms303kbOk!10
414ms303kbOk!10
519ms303kbOk!10
624ms303kbOk!10
744ms303kbOk!10
854ms303kbOk!10
974ms303kbOk!10
100ms303kbOk!10
Punctaj total100

Ceva nu functioneaza?