Pagini recente » Rezultatele filtrării | Rezultatele filtrării | Rezultatele filtrării | Diferente pentru problema/placare intre reviziile 13 si 2 | Borderou de evaluare (job #1761077)
Borderou de evaluare (job #1761077)
Raport evaluator
Compilare:
user.cpp: In function ‘void update(std::vector<int>*, size_t, int)’:
user.cpp:6:23: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
#define zeros(x) ((x) & ((x) - 1) ^ (x))
^
user.cpp:14:35: note: in expansion of macro ‘zeros’
for (; pos < aib.size(); pos += zeros(pos)) {
^
user.cpp: In function ‘int query(const std::vector<int>&, size_t)’:
user.cpp:6:23: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
#define zeros(x) ((x) & ((x) - 1) ^ (x))
^
user.cpp:21:26: note: in expansion of macro ‘zeros’
for (; pos > 0; pos -= zeros(pos)) {
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 88ms | 476kb | Corect! | 20 |
2 | 88ms | 472kb | Corect! | 20 |
3 | 88ms | 476kb | Corect! | 20 |
4 | 92ms | 476kb | Corect! | 20 |
5 | 88ms | 472kb | Corect! | 20 |
Punctaj total | 100 |