Pagini recente » Borderou de evaluare (job #1479869) | Borderou de evaluare (job #206783) | Borderou de evaluare (job #292816) | Borderou de evaluare (job #3300685) | Borderou de evaluare (job #2230508)
Borderou de evaluare (job #2230508)
Raport evaluator
Compilare:
user.cpp: In function ‘void update(int*, int, int)’:
user.cpp:7:18: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
{ for(;x<=n;x+=(x&(x-1)^x))
~^~~~~~
user.cpp: In function ‘int query(int*, int)’:
user.cpp:12:17: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
for(;x>0;x-=(x&(x-1)^x))
~^~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1396kb | OK | 10 |
| 2 | 0ms | 1392kb | OK | 10 |
| 3 | 0ms | 1416kb | OK | 10 |
| 4 | 0ms | 1428kb | OK | 10 |
| 5 | 16ms | 1712kb | OK | 10 |
| 6 | 28ms | 2028kb | OK | 10 |
| 7 | 52ms | 2440kb | OK | 10 |
| 8 | 64ms | 2728kb | OK | 10 |
| 9 | 72ms | 2844kb | OK | 10 |
| 10 | 80ms | 2952kb | Incorect | 0 |
| Punctaj total | 90 |