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 1175. Strange Sequence

I think the data size of this problem is quite large. Any hint to this problem?
Posted by AOY++ 21 Feb 2002 18:28
Re: I think the data size of this problem is quite large. Any hint to this problem?
Posted by Silviu Ganceanu 8 Sep 2004 00:08
Ok.. here is my hint: Choose p large enough to be sure you are in period of the given sequence and try findind q.
Re: I think the data size of this problem is quite large. Any hint to this problem?
Posted by Denis Koshman 14 Aug 2008 18:39


Edited by author 07.09.2008 13:47