A question about xor sums

Правка en1, от natsukagami, 2015-08-01 12:50:08

Hi Codeforces! I was wondering if we could compute a ^ (a + b) ^ (a + 2b) ^ ... ^ (a + kb) in O(1) or such. Thought about it a lot but still I have no solutions :( Do you have any idea? Thank you!

Теги xor

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский natsukagami 2015-08-01 12:50:08 226 Initial revision (published)