refactor: cleanup 268B
This commit is contained in:
parent
b7a8d9b980
commit
bc2ef0e085
1 changed files with 3 additions and 0 deletions
3
solutions/python/268B.py
Normal file
3
solutions/python/268B.py
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
n = int(input())
|
||||||
|
|
||||||
|
print(round((n-1)*n*(n+1)/6+n))
|
Loading…
Reference in a new issue