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



Edited by author 06.09.2009 21:29
Svyatoslav [Vologda Multiple-Discipline Lyceum] Re: As I can solve this problem for time 0.001??Sory for bad english. // Problem 1582. Bookmakers 6 Sep 2009 21:25
Equation

Edited by author 06.09.2009 21:26
Svyatoslav [Vologda Multiple-Discipline Lyceum] Re: As I can solve this problem for time 0.001??Sory for bad english. [1] // Problem 1582. Bookmakers 6 Sep 2009 21:25
Algorithm for this problem is O(1). You should to think a little.
My algorithm is O(1) and it is AC, but in 0.015 why???