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 1024. Permutations

I GOT AC!!!!!!!!
Posted by FELIX 4 Sep 2010 20:33
i'm so glad that i can do the problem on myself!!!i come up with the right way to solve the probmlem,but i forgot about the time.so i time time limit exceeded.then i did some work and——i got ac!!!here's the for example to the problem,hope to help you:4?3=12,and 2?3=6.
Re: I GOT AC!!!!!!!!
Posted by Andrew Hoffmann aka SKYDOS [Vladimir SU] 4 Sep 2010 22:39
cycle length + GCD
thats all.