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 1502. Domino Dots

Help to understand!!
Posted by Desire 2 Nov 2013 03:05
I know i am stupid but help me to understand this formula!
n*(n+1)/2*(n+2)

Edited by author 02.11.2013 03:06

Edited by author 02.11.2013 03:12
Re: Help to understand!!
Posted by mberdyshev 27 Nov 2015 01:20
This formula is equivalent to the this sum: sum(i=0 -> N) sum(j=i -> N) (i + j)

Edited by author 27.11.2015 01:21