Difficulty in understanding a approach to the solution of Unfair Nim of ABC172

Правка en1, от Ostrich888, 2020-07-02 12:56:27

Hello Everyone!

The link to the question

https://atcoder.jp/contests/abc172/tasks/abc172_f

The approach I am unable to understand.

https://mirror.codeforces.com/blog/entry/79438

I am finding it difficult to how is the author deciding what bits to set in x on basis of S. Mainly the 3rd and 4th paragraph of the solution, I am unable to grasp.

It would be really helpful if someone who was able to understand the approach can describe in his own words.

Thank you

Теги atcoder

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Ostrich888 2020-07-02 12:56:27 555 Initial revision (published)