Pagini recente » Borderou de evaluare (job #1039536) | Borderou de evaluare (job #1210888) | Borderou de evaluare (job #1384689) | Borderou de evaluare (job #2589087) | Borderou de evaluare (job #966719)
Borderou de evaluare (job #966719)
Raport evaluator
Compilare:
user.cpp: In function ‘void DFS(int, int)’:
user.cpp:20:22: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
l2[S + 1] = l2[S + 1 >> 1] + 1;
^
user.cpp:23:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < A[nod].size (); ++i)
^
user.cpp:28:26: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
l2[S + 1] = l2[S + 1 >> 1] + 1;
^
user.cpp: In function ‘void RMQ()’:
user.cpp:37:20: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
l = 1 << i - 1;
^
user.cpp: In function ‘void citire()’:
user.cpp:74:41: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (P[N] > _max || P[N] == _max && a < _a || P[N] == _max && a == _a && b < _b)
^
user.cpp:74:78: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (P[N] > _max || P[N] == _max && a < _a || P[N] == _max && a == _a && b < _b)
^
user.cpp:79:38: warning: ‘_b’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf ("%d %d %d", _max, _a, _b);
^
user.cpp:79:38: warning: ‘_a’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 636kb | OK | 10 |
2 | 4ms | 632kb | OK | 10 |
3 | 4ms | 744kb | OK | 10 |
4 | 8ms | 664kb | Incorect | 0 |
5 | 8ms | 680kb | Incorect | 0 |
6 | 16ms | 768kb | Incorect | 0 |
7 | 300ms | 6988kb | OK | 10 |
8 | 24ms | 900kb | Incorect | 0 |
9 | 204ms | 1032kb | Incorect | 0 |
10 | 280ms | 1056kb | Incorect | 0 |
Punctaj total | 40 |