Pagini recente » Borderou de evaluare (job #2903105) | Borderou de evaluare (job #2330509) | Borderou de evaluare (job #1253358) | Borderou de evaluare (job #2183338) | Borderou de evaluare (job #1262925)
Borderou de evaluare (job #1262925)
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 | 248kb | OK | 10 |
| 3 | 4ms | 260kb | OK | 10 |
| 4 | 28ms | 340kb | OK | 10 |
| 5 | 68ms | 380kb | OK | 10 |
| 6 | 108ms | 504kb | OK | 10 |
| 7 | 116ms | 576kb | OK | 10 |
| 8 | 168ms | 632kb | OK | 10 |
| 9 | 168ms | 632kb | OK | 10 |
| 10 | 164ms | 632kb | OK | 10 |
| Punctaj total | 100 |