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 1120. Sum of Sequential Numbers

I got AC 0.001 192 KB
Posted by Pavel Nikolov 19 Feb 2008 04:38
I discovered an interesting fact:
if i use unsigned type for all vars in my program i got AC (0.015    192 KB)

and if I use int type for all my vars I got AC (0.001    192 KB)

So with int my program is 15 times faster with int variables :)
Re: I got AC 0.001 192 KB
Posted by Madhav 17 Jun 2008 00:06
I got accepted in 0.001sec with 229KB
Re: I got AC 0.001 192 KB
Posted by Egor Stepanov [mikroz] 16 Dec 2008 04:14
137 KB