Pagini recente » Borderou de evaluare (job #2407621) | Borderou de evaluare (job #2944908) | Borderou de evaluare (job #2582102) | Borderou de evaluare (job #1294032) | Borderou de evaluare (job #1259765)
Borderou de evaluare (job #1259765)
Raport evaluator
Compilare:
user.cpp: In function ‘void update(int, int)’:
user.cpp:11: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:18: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:26: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:27: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:29: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:32:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&val);
^
user.cpp:37:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&op);
^
user.cpp:40: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:45: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:50: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 | 248kb | OK | 10 |
2 | 0ms | 252kb | OK | 10 |
3 | 4ms | 264kb | OK | 10 |
4 | 28ms | 344kb | OK | 10 |
5 | 68ms | 376kb | OK | 10 |
6 | 108ms | 500kb | OK | 10 |
7 | 112ms | 576kb | OK | 10 |
8 | 164ms | 632kb | OK | 10 |
9 | 168ms | 632kb | OK | 10 |
10 | 164ms | 628kb | OK | 10 |
Punctaj total | 100 |