Pagini recente » Borderou de evaluare (job #1205477) | Borderou de evaluare (job #912068) | Borderou de evaluare (job #419035) | Borderou de evaluare (job #1233825) | Borderou de evaluare (job #1265093)
Borderou de evaluare (job #1265093)
Raport evaluator
Compilare:
user.cpp: In function ‘void update(int, int)’:
user.cpp:10:29: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
for( ;poz <= n; poz+=poz&(poz-1)^poz)
^
user.cpp: In function ‘int query(int)’:
user.cpp:17:24: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
for( ;poz ;poz-=poz&(poz-1)^poz)
^
user.cpp: In function ‘int main()’:
user.cpp:24:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.in","r",stdin);
^
user.cpp:25:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.out","w",stdout);
^
user.cpp:27:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:30:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&val);
^
user.cpp:35:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&op);
^
user.cpp:38:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
user.cpp:43:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
user.cpp:48:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 244kb | OK | 10 |
2 | 0ms | 252kb | OK | 10 |
3 | 4ms | 264kb | OK | 10 |
4 | 28ms | 348kb | OK | 10 |
5 | 68ms | 384kb | OK | 10 |
6 | 108ms | 500kb | OK | 10 |
7 | 112ms | 576kb | OK | 10 |
8 | 164ms | 628kb | OK | 10 |
9 | 164ms | 636kb | OK | 10 |
10 | 164ms | 628kb | OK | 10 |
Punctaj total | 100 |