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 1634. Spider Mite

Who solved this problem honestly!?
Posted by svr 25 Jan 2009 14:03
I am sure that all 0.015- 0.031 submissions aren't honest.
My program really solve the task in [1-40] ~ 0.015
[1-50] - 2-3 s. .After I simply placed an answer
at the beginning of the program.
Re: Who solved this problem honestly!?
My program doesn't use precalc at all. Time is about 0.5 sec.
Re: Who solved this problem honestly!?
Posted by Sandro (USU) 26 Jan 2009 13:32
Jury solution without precalc works about 0.15 sec
Re: Who solved this problem honestly!?
Posted by spNautilus 24 Dec 2010 02:05
I just submitted a calculating code, which got accepted and ran only within 0.14 sec. I did not use extensive knowledge of math but just counted all the number of combination and stored it in double, which was enough in this case.

Edited by author 24.12.2010 02:06

Now, after optimized a little bit, my code ran within 0.078 sec.

Edited by author 24.12.2010 02:11