ENG
RUS
Timus 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
2146
. Quiz Show
Question
Posted by
__Andrewy__
7 Dec 2019 12:51
Is it right that p is divisor of n? If not, Can you write example?
Re: Question
Posted by
Ser Yakovlev
14 Aug 2020 21:47
for each step d len of period equals to gcd(d, n)
Edited by author 14.08.2020 21:59
© 2000–2024
Timus Online Judge Team
. All rights reserved.