Borderou de evaluare (job #966690)

Utilizator FlameingoAiordachioaei Marius Flameingo Data 26 iunie 2013 14:23:46
Problema Concurs Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

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
14ms636kbOK10
24ms640kbOK10
34ms748kbOK10
48ms668kbIncorect0
58ms684kbIncorect0
616ms768kbIncorect0
7288ms6992kbOK10
828ms896kbIncorect0
9196ms1032kbIncorect0
10296ms1048kbIncorect0
Punctaj total40

Ceva nu functioneaza?