Borderou de evaluare (job #3039449)

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

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
39ms679kbCorect10
49ms684kbCorect10
59ms684kbCorect10
654ms2478kbCorect10
759ms2572kbCorect10
859ms2633kbCorect10
959ms2457kbCorect10
1059ms2424kbCorect10
Punctaj total100

Ceva nu functioneaza?