ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1465. Pawn Game

I'll give you two hints:

1) You must be familiar with nimbers.
2) Look for a cycle. I used another program to find a cycle when generating nimbers up to let's say 10 000.

Good luck ;)
can you tell me what the cycle is? thanks.
The sequence of answers is periodic(period length=34). But it becomes periodic from a certain position.
can you send your AC code to me?please to this e-mail:
mwhaea123456@163.com
Thank you so much