Borderou de evaluare (job #2594642)

Utilizator betybety bety bety Data 6 aprilie 2020 14:29:00
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:22:40: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] for( ; px <= n; px += px ^ (px - 1) & px) ~~~~~~~~~^~~~ main.cpp:23: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:29:36: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] for( ; px; px -= px ^ (px - 1) & px) ~~~~~~~~~^~~~ main.cpp:30:46: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] for(py = sy; py; py -= py ^ (py - 1) & py) ~~~~~~~~~^~~~ main.cpp: In function 'int main()': main.cpp:62:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ main.cpp:66:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&tip); ^ main.cpp:71:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&a,&b,&c); ^ main.cpp:80:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&a,&b); ^ main.cpp:87:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&steps); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
151ms24117kbOK10
265ms24641kbOK10
366ms24772kbOK10
4187ms28233kbOK10
5192ms28749kbOK10
6512ms45072kbMemory limit exceeded0
7783ms43937kbOK10
8588ms45072kbMemory limit exceeded0
9781ms43282kbOK10
10524ms45072kbMemory limit exceeded0
Punctaj total70

Ceva nu functioneaza?