Search posts, tags, users, and pages
Donghan Kim
문제 https://www.acmicpc.net/problem/10870 단순 구현 문제 풀이 간단하게 주어진 조건을 코드로 구현하면 된다. arr = [0, 1] n = int(input()) for i in range(2, n+1): arr.append(arr[i-1] + arr[i-2]) print(arr[n])
No responses yet.