Skip to content

Commit c86294c

Browse files
committed
[BOJ] 2231 분해합 (B2)
1 parent fb866c5 commit c86294c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

심수연/8주차/260219.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
N = int(input())
77

88
for i in range(1, N+1):
9-
temp = i + sum((map(int, str(i))))
9+
temp = i + sum(map(int, str(i)))
1010
if temp == N: # i가 작은순부터 브루트포스
1111
print(i)
1212
break

0 commit comments

Comments
 (0)