ENG
RUS
Timus 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
MiR
Help, plz.:)
[2] // Problem
1120. Sum of Sequential Numbers
6 Aug 2006 14:25
If n=1, a=1 and p=1(1+0)
If n=3, a=1 and p=2(1+(1+1))
But if n=2? What should I output in this case?
Thanks.
Burunduk1
Re: Help, plz.:)
[1] // Problem
1120. Sum of Sequential Numbers
6 Aug 2006 14:35
a=2 p=1
And what was the trouble in?
MiR
OK
// Problem
1120. Sum of Sequential Numbers
6 Aug 2006 15:51
That's OK thank's.
© 2000–2026
Timus Online Judge Team
. All rights reserved.