Submit | All submissions | Best solutions | Back to list |
RGB7213 - Үржвэр нийлбэр 1 |
1*2+2*3+3*4+...+n*(n+1) нийлбэрийг ол.
Input
Натурал тоо өгөгдөнө.
Output
Нийлбэр
Example
Input: 5 Output: 70
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 |