Borderou de evaluare (job #1018563)

Utilizator httpsLup Vasile https Data 29 octombrie 2013 19:11:20
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void adauga(int, int)’: user.cpp:11:36: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] for(; pos<=n; pos+=(pos^(pos-1)&pos)) aib[pos]+=x; ^ user.cpp: In function ‘int calc(int)’: user.cpp:16:35: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] for(; pos>0; pos-=(pos^(pos-1)&pos)) sum+=aib[pos]; ^ user.cpp: In function ‘int main()’: user.cpp:39:35: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] for(j=i; j<=n; j+=(j^(j-1)&j)) aib[j]+=s; ^ user.cpp: In function ‘int binsrc(int)’: user.cpp:31:12: warning: ‘m’ may be used uninitialized in this function [-Wmaybe-uninitialized] return m; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms396kbIncorect0
24ms404kbIncorect0
38ms424kbIncorect0
432ms500kbIncorect0
572ms544kbIncorect0
6108ms652kbIncorect0
7116ms736kbIncorect0
8164ms788kbIncorect0
9172ms796kbIncorect0
10164ms796kbIncorect0
Punctaj total0

Ceva nu functioneaza?