Pagini recente » Diferente pentru utilizator/recviem intre reviziile 14 si 13 | Diferente pentru utilizator/recviem intre reviziile 19 si 18 | Diferente pentru utilizator/kira96 intre reviziile 40 si 41 | Borderou de evaluare (job #2804804) | Borderou de evaluare (job #1505380)
Borderou de evaluare (job #1505380)
Raport evaluator
Compilare:
user.cpp: In function ‘int q(int)’:
user.cpp:6:31: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
for (; d>0; d -= d ^ (d - 1) & d) sum += AIB[d];
^
user.cpp: In function ‘void update(int, int)’:
user.cpp:10:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
for (; c <= N; c += c ^ (c - 1) & c) AIB[c] += Val;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 100ms | 488kb | Corect! | 20 |
| 2 | 116ms | 488kb | Corect! | 20 |
| 3 | 112ms | 488kb | Corect! | 20 |
| 4 | 112ms | 480kb | Corect! | 20 |
| 5 | 116ms | 484kb | Corect! | 20 |
| Punctaj total | 100 |