Borderou de evaluare (job #1090962)

Utilizator manutrutaEmanuel Truta manutruta Data 23 ianuarie 2014 12:41:48
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void update(int, int)’: user.cpp:6:30: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] #define zero(x) (x ^ (x - 1) & x) ^ user.cpp:18:16: note: in expansion of macro ‘zero’ ind += zero(ind); ^ user.cpp: In function ‘int query(int)’: user.cpp:6:30: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] #define zero(x) (x ^ (x - 1) & x) ^ user.cpp:27:16: note: in expansion of macro ‘zero’ ind -= zero(ind); ^ user.cpp: In function ‘int search(int)’: user.cpp:49:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms408kbIncorect0
24ms416kbIncorect0
38ms428kbIncorect0
432ms512kbIncorect0
572ms552kbIncorect0
6112ms664kbIncorect0
7116ms744kbIncorect0
8168ms796kbIncorect0
9168ms800kbIncorect0
10168ms804kbIncorect0
Punctaj total0

Ceva nu functioneaza?