Pagini recente » Borderou de evaluare (job #2567333) | Borderou de evaluare (job #2138065) | Borderou de evaluare (job #613606) | Borderou de evaluare (job #367392) | Borderou de evaluare (job #2371365)
Borderou de evaluare (job #2371365)
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 |
1 | 2ms | 131kb | Corect | 10 |
2 | 2ms | 131kb | Corect | 10 |
3 | 45ms | 393kb | Corect | 10 |
4 | 44ms | 393kb | Corect | 10 |
5 | 44ms | 393kb | Corect | 10 |
6 | 259ms | 1835kb | Corect | 10 |
7 | 253ms | 1835kb | Corect | 10 |
8 | 249ms | 1835kb | Corect | 10 |
9 | 273ms | 1835kb | Corect | 10 |
10 | 260ms | 1835kb | Corect | 10 |
Punctaj total | 100 |