Borderou de evaluare (job #3252834)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:54:22: warning: capture of variable 'v' with non-automatic storage duration
54 | sort(v+1, v+n, [&v](const point &a, const point &b){
| ^
main.cpp:38:7: note: 'point v [120000]' declared here
38 | point v[120000];
| ^
main.cpp: In lambda function:
main.cpp:56:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
56 | signed_area(*v,a,b) == 0 && 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 | 8ms | 2129kb | Poligon gresit! | 0 |
| 5 | 8ms | 2129kb | Poligon gresit! | 0 |
| 6 | 53ms | 2351kb | Poligon gresit! | 0 |
| 7 | 53ms | 2347kb | Poligon gresit! | 0 |
| 8 | 53ms | 2351kb | Poligon gresit! | 0 |
| 9 | 53ms | 2342kb | Poligon gresit! | 0 |
| 10 | 53ms | 2342kb | Poligon gresit! | 0 |
| Punctaj total | 20 |