|  | 
|  | 
| вернуться в форум | It 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 amsure there are several other people who have done the same.
I don't think so. My program just used less than 2 sec Послано AOY++  11 янв 2002 18:57Re: 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. Послано Koala  26 июл 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 usedlong arithmetics with base 10000 and it worked fine.
 | 
 | 
|