NeutralMilkHotel's blog

By NeutralMilkHotel, history, 4 years ago, In English

https://codeforces.me/blog/entry/77846 Can anyone explain why in problem G we are having a cyclic shift as d where (d.n)%m=0? I seem to get a bit of the intuitive picture but a proper formal proof would be appreciated.

| Write comment?
»
4 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Sometime ago I had same query and I tried doing like this: link. Do tell me if its helpful.