Borderou de evaluare (job #2371365)

Utilizator davidbejenariu2David Bejenariu davidbejenariu2 Data 6 martie 2019 17:21:46
Problema Infasuratoare convexa Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'bool comp(punct, punct)': main.cpp:34:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] return X.x < Y.x || X.x == Y.x && X.y < Y.y; ~~~~~~~~~~~^~~~~~~~~~~~ main.cpp: In function 'bool comp1(punct, punct)': main.cpp:49:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] return X.y < Y.y || X.y == Y.y && X.x < Y.x; ~~~~~~~~~~~^~~~~~~~~~~~ main.cpp: In function 'void solve()': main.cpp:75:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( i = 0; i < S.size(); ++i ) ~~^~~~~~~~~~ main.cpp:76:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ( S[i].y < mini.y || S[i].y == mini.y && S[i].x < mini.x ) main.cpp:82:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( i = poz; i < S.size(); ++i ) ~~^~~~~~~~~~ main.cpp:71:9: warning: 'poz' may be used uninitialized in this function [-Wmaybe-uninitialized] int poz; ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbCorect10
22ms131kbCorect10
345ms393kbCorect10
444ms393kbCorect10
544ms393kbCorect10
6259ms1835kbCorect10
7253ms1835kbCorect10
8249ms1835kbCorect10
9273ms1835kbCorect10
10260ms1835kbCorect10
Punctaj total100

Ceva nu functioneaza?