Borderou de evaluare (job #2594658)

Utilizator betybety bety bety Data 6 aprilie 2020 14:49:50
Problema Undo Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In function 'void update(int, int, int)': main.cpp:25:40: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] for( ; px <= n; px += px ^ (px - 1) & px) ~~~~~~~~~^~~~ main.cpp:26:48: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] for(py = sy; py <= n; py += py ^ (py - 1) & py) ~~~~~~~~~^~~~ main.cpp: In function 'int query(int, int)': main.cpp:34:36: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] for( ; px; px -= px ^ (px - 1) & px) ~~~~~~~~~^~~~ main.cpp:35:46: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] for(py = sy; py; py -= py ^ (py - 1) & py) ~~~~~~~~~^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
149ms24117kbOK10
253ms24641kbOK10
370ms24772kbOK10
4184ms28229kbOK10
5196ms28749kbOK10
6531ms45072kbMemory limit exceeded0
7821ms43941kbOK10
8515ms45072kbMemory limit exceeded0
9774ms43282kbOK10
10532ms45072kbMemory limit exceeded0
Punctaj total70

Ceva nu functioneaza?