Pagini recente » Borderou de evaluare (job #301082) | Borderou de evaluare (job #1911799) | Borderou de evaluare (job #457971) | Borderou de evaluare (job #2462713) | Borderou de evaluare (job #3252839)
Borderou de evaluare (job #3252839)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:75:22: warning: capture of variable 'v' with non-automatic storage duration
75 | sort(v+1, v+n, [&v](const point &a, const point &b){
| ^
main.cpp:58:7: note: 'point v [120000]' declared here
58 | point v[120000];
| ^
main.cpp: In lambda function:
main.cpp:77:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
77 | signed_area(*v,a,b) == 0 && a.x <= b.x;
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
main.cpp: In lambda function:
main.cpp:93:111: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
93 | miny = *min_element(q.begin(), q.end(), [](const point &a, const point &b){return a.y < b.y || a.y == b.y && a.x < b.x;});
| ~~~~~~~~~~~^~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 2129kb | Corect | 10 |
2 | 1ms | 2129kb | Corect | 10 |
3 | 8ms | 2129kb | Poligon gresit! | 0 |
4 | 4ms | 2129kb | Poligon gresit! | 0 |
5 | 8ms | 2129kb | Poligon gresit! | 0 |
6 | 53ms | 2129kb | Poligon gresit! | 0 |
7 | 53ms | 2342kb | Poligon gresit! | 0 |
8 | 53ms | 2342kb | Poligon gresit! | 0 |
9 | 53ms | 2347kb | Poligon gresit! | 0 |
10 | 53ms | 2342kb | Poligon gresit! | 0 |
Punctaj total | 20 |