Borderou de evaluare (job #966719)

Utilizator FlameingoAiordachioaei Marius Flameingo Data 26 iunie 2013 15:17:42
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: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
14ms636kbOK10
24ms632kbOK10
34ms744kbOK10
48ms664kbIncorect0
58ms680kbIncorect0
616ms768kbIncorect0
7300ms6988kbOK10
824ms900kbIncorect0
9204ms1032kbIncorect0
10280ms1056kbIncorect0
Punctaj total40

Ceva nu functioneaza?