Submit | All submissions | Best solutions | Back to list |
RGB7216 - Үржвэр нийлбэр 4 |
1*2*3+2*3*4+3*4*5+...+n*(n+1)*(n+2) нийлбэрийг ол.
Input
Натурал тоо өгөгдөнө.
Output
Нийлбэр.
Example
Input: 4 Output: 210
Added by: | Bataa |
Date: | 2013-01-21 |
Time limit: | 1s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | NCSHARP C++ 4.3.2 CPP CPP14 JULIA PYPY3 |