|
|
back to boardIt is imposible to solve this problem with time < 5 sec with honest program! What nonsense! My program beats the time limit without any hardcoding at all. I am sure there are several other people who have done the same. I don't think so. My program just used less than 2 sec Posted by AOY++ 11 Jan 2002 18:57 Re: I don't think so. My program just used less than 2 sec > All you know about long arifmetics, but it can be FAST also.. I only use 0.860 Sec. Posted by Koala 26 Jul 2002 18:06 > 0.234 Sec 8-)) This is a problem that I kept untouched for a veeeeery long time. Feels good now. Re: It is imposible to solve this problem with time < 5 sec with honest program! As far as I remember the author solution used long arithmetics with base 10000 and it worked fine. |
|
|