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 1005. Stone Pile

question about algos about time
Posted by kruseborn 2 Jul 2008 20:55
I have two algos that does the same thing, both algos give the right answer but with different time. Can someone explain to me?

diff2 goes much faster then diff1 for large n.

http://pastie.org/226300