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 1023. Buttons

What is 0.001 solution?
Posted by OZone 30 Mar 2013 01:42
How it is posible to get AC in 0.001 s? What time do such ACs take to get L for K= 99999989?
Could anyone give a hint to make it faster than O(sqrt(K))?
Re: What is 0.001 solution?
Posted by Marius Žilėnas 31 Oct 2013 11:40
I think one can get AC in 0.001 by giving solutions that have precalculated values for K = 3...10^8.