Pagini recente » Borderou de evaluare (job #1515426) | Cod sursa (job #950862) | Borderou de evaluare (job #2411507) | Borderou de evaluare (job #2341430) | Borderou de evaluare (job #2756059)
Borderou de evaluare (job #2756059)
Raport evaluator
Compilare:
main.cpp: In function 'void update(int, int)':
main.cpp:15:30: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
for (; x <= N; x += x^(x-1) & x)
~~~~~~^~~
main.cpp: In function 'int query(int)':
main.cpp:24:25: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
for (; x; x -= x^(x-1) & x)
~~~~~~^~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 3ms | 131kb | Corect! | 10 | 10 |
| 2 | 4ms | 262kb | Corect! | 10 | 10 |
| 3 | 3ms | 131kb | Corect! | 10 | 10 |
| 4 | 3ms | 131kb | Corect! | 10 | 10 |
| 5 | 3ms | 131kb | Corect! | 10 | 10 |
| 6 | 3ms | 131kb | Corect! | 10 | 10 |
| 7 | 4ms | 262kb | Corect! | 10 | 10 |
| 8 | 108ms | 2490kb | Corect! | 10 | 0 |
| 9 | 303ms | 1835kb | Time limit exceeded | 0 |
| 10 | 101ms | 2490kb | Corect! | 10 |
| Punctaj total | 70 |