Pagini recente » Borderou de evaluare (job #370565) | Borderou de evaluare (job #1159517) | Borderou de evaluare (job #1338993) | Borderou de evaluare (job #2835041) | Borderou de evaluare (job #966690)
Borderou de evaluare (job #966690)
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:25: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
for (l = 1 << i - 1, n = S - (1 << i) + 1, j = 1; j <= n; ++j)
^
user.cpp: In function ‘void citire()’:
user.cpp:71: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:71: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:76:38: warning: ‘_b’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf ("%d %d %d", _max, _a, _b);
^
user.cpp:76: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 | 640kb | OK | 10 |
3 | 4ms | 748kb | OK | 10 |
4 | 8ms | 668kb | Incorect | 0 |
5 | 8ms | 684kb | Incorect | 0 |
6 | 16ms | 768kb | Incorect | 0 |
7 | 288ms | 6992kb | OK | 10 |
8 | 28ms | 896kb | Incorect | 0 |
9 | 196ms | 1032kb | Incorect | 0 |
10 | 296ms | 1048kb | Incorect | 0 |
Punctaj total | 40 |