Borderou de evaluare (job #993870)

Utilizator diac_paulPaul Diac diac_paul Data 4 septembrie 2013 16:32:41
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void update(int, int)’: user.cpp:8:53: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] for (int pi = p; pi <= n; pi = pi + (pi ^ (pi - 1) & pi)) ^ user.cpp: In function ‘int query(int)’: user.cpp:15:52: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] for (int pi = p; pi > 0; pi = pi - (pi ^ (pi - 1) & pi)) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms236kbOK10
24ms240kbIncorect0
38ms244kbIncorect0
432ms316kbIncorect0
564ms356kbOK10
696ms480kbIncorect0
7104ms556kbIncorect0
8144ms612kbIncorect0
9148ms612kbIncorect0
10144ms608kbIncorect0
Punctaj total20

Ceva nu functioneaza?