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 1582. Bookmakers

Can I solve this problem for time 0.001??Sory for bad english.
Posted by Narek X 6 Sep 2009 14:35


Edited by author 06.09.2009 21:29
Re: As I can solve this problem for time 0.001??Sory for bad english.
Equation

Edited by author 06.09.2009 21:26
Re: As I can solve this problem for time 0.001??Sory for bad english.
Algorithm for this problem is O(1). You should to think a little.
Re: As I can solve this problem for time 0.001??Sory for bad english.
Posted by Narek X 6 Sep 2009 21:33
My algorithm is O(1) and it is AC, but in 0.015 why???