Pagini recente » Borderou de evaluare (job #1849121) | Borderou de evaluare (job #3226023) | Borderou de evaluare (job #2873632) | Borderou de evaluare (job #343960) | Borderou de evaluare (job #3200865)
Borderou de evaluare (job #3200865)
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 |
1 | 1ms | 303kb | Ok! | 10 |
2 | 3ms | 303kb | Ok! | 10 |
3 | 5ms | 303kb | Ok! | 10 |
4 | 14ms | 303kb | Ok! | 10 |
5 | 19ms | 303kb | Ok! | 10 |
6 | 24ms | 303kb | Ok! | 10 |
7 | 44ms | 303kb | Ok! | 10 |
8 | 54ms | 303kb | Ok! | 10 |
9 | 74ms | 303kb | Ok! | 10 |
10 | 0ms | 303kb | Ok! | 10 |
Punctaj total | 100 |