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 1694. Killer Words

2 ADMINS: Weak tests!!!
Posted by Vedernikoff Sergey (HSE: АОП) 18 Mar 2009 17:32
I'm pretty sure that testset for this problem doesn't contain maxitests with k=2 and n=22. Otherwise how could program that works about 20sec. on my computer get AC on timus???
Re: 2 ADMINS: Weak tests!!!
Posted by Samsonov Alex [USU] 18 Mar 2009 23:39
You are wrong.
Re: 2 ADMINS: Weak tests!!!
Posted by Vedernikoff Sergey (HSE: АОП) 19 Mar 2009 00:28
Then what supercomputers does timus use??? =)
I have Pentium Duo Centrino 3.2
Or you want to say that the whole difference is due to compilers? (I use MSVS C++ 8.0)
Re: 2 ADMINS: Weak tests!!!
Posted by Tbilisi SU: Giorgie , Akakie 19 Mar 2009 01:07
you can easily test how fast it works on timus online judge....
dont read data from input , run your program when m = 18,  k = 2 , and n = 22.
 I'm sure your solution is fast enough , for example, when I'm using STL classes, program works on my PC 10 times slower than on online judge...
Re: 2 ADMINS: Weak tests!!!
Posted by KIRILL(ArcSTUpid coder:) 19 Mar 2009 01:48
use Release option in your compiler
Re: 2 ADMINS: Weak tests!!!
Posted by Sandro (USU) 19 Mar 2009 08:16
Site news contain information about testing computer:
Core 2 Quad Q6600 (frequency 2400 MHz, L2 cache 8 MB, bus frequency 1066 MHz).