← Back to List
28701번: 세제곱의 합 ↗
Solutions
Python 3
78 B | 78 chars
n=int(input()) print(n*(n+1)//2) print((n*(n+1)//2)**2) print((n*(n+1)//2)**2)