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

sos!!
Posted by lian lian 12 Nov 2007 18:38
i don`t understant what means "N = A + (A + 1) + … + (A + P − 1)."?

 i think: when A=2:  14=2+(2+1)+(2+2)+(2+3)    P=?

why was p=4 in the subject?



please help me!!!
Re: sos!!
Posted by Nickolai Besschetnov 9 Oct 2008 14:35
'cause 2+3 == 2+4-1