Borderou de evaluare (job #1018562)

Utilizator httpsLup Vasile https Data 29 octombrie 2013 19:10:35
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
38ms420kbIncorect0
432ms496kbIncorect0
572ms536kbIncorect0
6108ms656kbIncorect0
7116ms740kbIncorect0
8168ms792kbIncorect0
9168ms788kbIncorect0
10168ms796kbIncorect0
Punctaj total0

Ceva nu functioneaza?