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 1204. Idempotents

I think this is a good maths problem.(hint inside)
Posted by Yu YuanMing 27 Jun 2004 21:08
My algorithm based on Primes Table and Euclid's Gcd got AC in 0.14sec.But I think it is a little slow.
Maybe someone will have a better solution.If so, could you write is out? Thanks!