Pagini recente » Borderou de evaluare (job #3279417) | Borderou de evaluare (job #2819590) | Borderou de evaluare (job #55159) | Borderou de evaluare (job #2134754) | Borderou de evaluare (job #3252966)
Borderou de evaluare (job #3252966)
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:94:111: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
94 | 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 | 2ms | 4227kb | Corect | 10 |
2 | 2ms | 4227kb | Corect | 10 |
3 | 9ms | 4227kb | Corect | 10 |
4 | 9ms | 4227kb | Corect | 10 |
5 | 9ms | 4227kb | Corect | 10 |
6 | 68ms | 4296kb | Corect | 10 |
7 | 68ms | 4284kb | Corect | 10 |
8 | 68ms | 4284kb | Corect | 10 |
9 | 64ms | 4227kb | Corect | 10 |
10 | 68ms | 4280kb | Corect | 10 |
Punctaj total | 100 |