Borderou de evaluare (job #1324244)

Utilizator MoneaVladMonea Vlad MoneaVlad Data 21 ianuarie 2015 23:50:44
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void aduna(int, int)’: user.cpp:13:12: warning: statement has no effect [-Wunused-value] for(poz; poz <= n; poz += poz & (poz - 1) ^ poz) { ^ user.cpp:13:35: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] for(poz; poz <= n; poz += poz & (poz - 1) ^ poz) { ^ user.cpp: In function ‘int suma(int)’: user.cpp:20:32: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] for(i = poz; i > 0; i -= i & (i - 1) ^ i) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms436kbOK10
20ms448kbOK10
34ms468kbOK10
428ms552kbOK10
568ms588kbOK10
6108ms704kbOK10
7116ms776kbOK10
8164ms832kbOK10
9164ms836kbOK10
10164ms836kbOK10
Punctaj total100

Ceva nu functioneaza?