Borderou de evaluare (job #3039446)

Utilizator game_difficultyCalin Crangus game_difficulty Data 28 martie 2023 16:16:56
Problema Infasuratoare convexa Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'bool cmp(const point&, const point&)': main.cpp:16:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 16 | if (a == point{ 0, 0 }) return 1; if (b == point{ 0, 0 }) return 0; | ^~ main.cpp:16:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 16 | if (a == point{ 0, 0 }) return 1; if (b == point{ 0, 0 }) return 0; | ^~ main.cpp: In function 'int main()': main.cpp:78:40: warning: 'a3' may be used uninitialized [-Wmaybe-uninitialized] 78 | if (a1 - a3 + (a1 - a3 < 0 ? 2 * PI : 0) < PI) { | ~~~^~~~ main.cpp:72:40: note: 'a3' was declared here 72 | double a3; | ^~ main.cpp:78:40: warning: 'a1' may be used uninitialized [-Wmaybe-uninitialized] 78 | if (a1 - a3 + (a1 - a3 < 0 ? 2 * PI : 0) < PI) { | ~~~^~~~ main.cpp:66:40: note: 'a1' was declared here 66 | double a1; | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbCorect10
20ms303kbCorect10
39ms684kbCorect10
49ms684kbCorect10
59ms684kbCorect10
659ms2543kbPoligon gresit!0
759ms2629kbPoligon gresit!0
859ms2453kbPoligon gresit!0
959ms2392kbPoligon gresit!0
1058ms2613kbPoligon gresit!0
Punctaj total50

Ceva nu functioneaza?