Borderou de evaluare (job #3252966)

Utilizator andrei.nNemtisor Andrei andrei.n Data 31 octombrie 2024 16:44:47
Problema Infasuratoare convexa Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

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
12ms4227kbCorect10
22ms4227kbCorect10
39ms4227kbCorect10
49ms4227kbCorect10
59ms4227kbCorect10
668ms4296kbCorect10
768ms4284kbCorect10
868ms4284kbCorect10
964ms4227kbCorect10
1068ms4280kbCorect10
Punctaj total100

Ceva nu functioneaza?