Pagini recente » Borderou de evaluare (job #57024) | Borderou de evaluare (job #180259) | Borderou de evaluare (job #2602687) | Borderou de evaluare (job #1889926) | Borderou de evaluare (job #2594642)
Borderou de evaluare (job #2594642)
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 |
1 | 51ms | 24117kb | OK | 10 |
2 | 65ms | 24641kb | OK | 10 |
3 | 66ms | 24772kb | OK | 10 |
4 | 187ms | 28233kb | OK | 10 |
5 | 192ms | 28749kb | OK | 10 |
6 | 512ms | 45072kb | Memory limit exceeded | 0 |
7 | 783ms | 43937kb | OK | 10 |
8 | 588ms | 45072kb | Memory limit exceeded | 0 |
9 | 781ms | 43282kb | OK | 10 |
10 | 524ms | 45072kb | Memory limit exceeded | 0 |
Punctaj total | 70 |