Pagini recente » Borderou de evaluare (job #318661) | Borderou de evaluare (job #3216444) | Borderou de evaluare (job #976833) | Borderou de evaluare (job #257381) | Borderou de evaluare (job #1447754)
Borderou de evaluare (job #1447754)
Raport evaluator
Compilare:
user.cpp: In function ‘void update(int, int, int)’:
user.cpp:24:40: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
for( ; px <= n; px += px ^ (px - 1) & px)
^
user.cpp:25:48: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
for(py = sy; py <= n; py += py ^ (py - 1) & py)
^
user.cpp: In function ‘int query(int, int)’:
user.cpp:32:36: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
for( ; px; px -= px ^ (px - 1) & px)
^
user.cpp:33:46: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
for(py = sy; py; py -= py ^ (py - 1) & py)
^
user.cpp: In function ‘int main()’:
user.cpp:68:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("undo.in","r",stdin);
^
user.cpp:69:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("undo.out","w",stdout);
^
user.cpp:73:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:77:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&tip);
^
user.cpp:82: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);
^
user.cpp:91:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
user.cpp:98: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 | 16ms | 12028kb | OK | 10 |
2 | 28ms | 12368kb | OK | 10 |
3 | 32ms | 12496kb | OK | 10 |
4 | 136ms | 14876kb | OK | 10 |
5 | 140ms | 15016kb | OK | 10 |
6 | 928ms | 26884kb | OK | 10 |
7 | 844ms | 25304kb | OK | 10 |
8 | 868ms | 26804kb | OK | 10 |
9 | 796ms | 25048kb | OK | 10 |
10 | 896ms | 26756kb | OK | 10 |
Punctaj total | 100 |