0-Indexing a BIT

Правка en1, от conqueror_of_conqueror, 2016-10-09 01:49:06

Hi, I'm a FiveAtomTree (5-indexed...), and I'm wondering how I can 0-index a BIT easily. I know I can just update upd(index+1, value), but at times it's really inconvenient.

I remember there was a comment on a contest announcement about it, but I forgot it and can't find it...

Anyone wanna hit me up?

Thanks~!

orz

Теги bit, 0-indexed

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский conqueror_of_conqueror 2016-10-09 01:49:06 343 Initial revision (published)