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.015 solution?
Posted by PrankMaN 27 Mar 2013 00:30
It's not a hard problem, if you use Sprague–Grundy theorem. But this solution is about 0.5 in best case. I saw some people getting AC in 0.015. What's the idea of their solution?
Re: What is 0.015 solution?
Posted by OZone 30 Mar 2013 01:26
They use sqrt