반응형
# @Author YoungMinKim
# baekjoon
c,k,p = map(int,input().split())
result=0
for i in range(1,c+1):
result+=((k*i)+p*i**2)
print(result)
반응형
'백준 문제풀이' 카테고리의 다른 글
baekjoon - python - 17496 (0) | 2020.09.20 |
---|---|
baekjoon - python - 17256 (0) | 2020.09.20 |
baekjoon - python - 16394 (0) | 2020.09.20 |
baekjoon - python - 16170 (0) | 2020.09.20 |
baekjoon - python - 10886 (0) | 2020.09.17 |
댓글