Borderou de evaluare (job #3217375)

Utilizator Lupu_Daniel_24Lupu Daniel Lupu_Daniel_24 Data 22 martie 2024 16:56:28
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:29:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 29 | if(a[i].x<a[mn].x || a[i].x==a[mn].x && a[i].y<a[mn].y) mn=i; | ^ main.cpp:39:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 39 | while(l>=2 && det(a[l-1],a[l],a[i])<0) | ^~~~~ main.cpp:41:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 41 | a[++l]=a[i]; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbCorect10
20ms303kbCorect10
38ms557kbCorect10
48ms557kbCorect10
58ms557kbCorect10
654ms1933kbCorect10
754ms2093kbCorect10
854ms2093kbCorect10
954ms1933kbCorect10
1054ms1937kbCorect10
Punctaj total100

Ceva nu functioneaza?