Skip to content

Commit 7e7abd0

Browse files
committed
125차 1번 문제풀이 (푸는중)
1 parent 26a3a3b commit 7e7abd0

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
"""
2+
인접하는 집의 색상이 같지 않다.
3+
dp
4+
"""
5+
import sys
6+
7+
input = sys.stdin.readline
8+
9+
cost = []
10+
n = int(input())
11+
for _ in range(n):
12+
cost.append(list(map(int, input().split())))
13+
14+
15+
dp = cost.copy()
16+
17+
18+
for i in range(1, n):
19+
20+
21+
22+
"""
23+
3
24+
26 40 83
25+
49 60 57
26+
13 89 99
27+
"""

0 commit comments

Comments
 (0)