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 1209. 1, 10, 100, 1000...

To judges. Explain, please.
Posted by Teacher30 23 Jan 2009 20:52
SubmitID=2429853

On your machine
(processor: Core 2 Quad Q6600 (frequency 2400 MHz, L2 cache 8 MB, bus frequency 1066 MHz); memory: 4 GB;)
this solution works about 1 second.

On Intel Celeron 1200; memory: 256 MB it works about 0.15 seconds.

Explain, please, this effect.
Re: To judges. Explain, please.
Posted by Fyodor Menshikov 24 Jan 2009 15:21
Maybe /O1 compiler switch on Timus and /O2 on your machine?
Re: To judges. Explain, please.
Posted by Vladimir Yakovlev (USU) 11 Aug 2009 13:20
STL's slow work has been fixed 4 months ago. Now this submit works in 0.156 sec.