Borderou de evaluare (job #2779718)

Utilizator vmnechitaNechita Vlad-Mihai vmnechita Data 4 octombrie 2021 19:26:42
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void update(int, int)': main.cpp:58:39: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] 58 | while ( poz + ( poz ^ ( poz - 1 ) & poz ) <= n ) | ~~~~~~~~~~~~^~~~~ main.cpp:61:34: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] 61 | poz += poz ^ ( poz - 1 ) & poz; | ~~~~~~~~~~~~^~~~~ main.cpp: In function 'int sum(int, int)': main.cpp:82:41: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] 82 | dr -= ( dr ^ ( dr - 1 ) & dr ); | ~~~~~~~~~~~^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms184kbOK10
21ms184kbOK10
39ms335kbOK10
438ms532kbOK10
589ms663kbOK10
6205ms1028kbOK10
7210ms1265kbOK10
8224ms1486kbOK10
9219ms1536kbOK10
10286ms1396kbOK10
Punctaj total100

Ceva nu functioneaza?