Skip to content

Commit

Permalink
2023 APC 1번
Browse files Browse the repository at this point in the history
  • Loading branch information
mwy3055 committed May 27, 2023
1 parent 279985c commit a40f04c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions baekjoon/python/APC_A.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
n = int(input())
count = 1
for i in range(1, 1_000_001):
if i == n:
break
count += 1
if '50' in str(i):
count += 1
print(count)

0 comments on commit a40f04c

Please sign in to comment.