Skip to content

Commit

Permalink
2024-05-14 ํŒ”
Browse files Browse the repository at this point in the history
  • Loading branch information
pu2rile committed May 14, 2024
1 parent f899cda commit 2213f85
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pu2rile/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,10 @@
| 2์ฐจ์‹œ | 2024.03.29 | ๊ตฌํ˜„ | [OXํ€ด์ฆˆ](https://www.acmicpc.net/problem/8958) | [#6](https://github.com/AlgoLeadMe/AlgoLeadMe-10/pull/6#issue-2214931034)|
| 3์ฐจ์‹œ | 2024.04.02 | ๋ฌธ์ž์—ด | [ํฌ๋กœ์•„ํ‹ฐ์•„ ์•ŒํŒŒ๋ฒณ](https://www.acmicpc.net/problem/8958) | [#10](https://github.com/AlgoLeadMe/AlgoLeadMe-10/pull/10#issue-2220631332)
| 4์ฐจ์‹œ | 2024.04.08 | ์Šคํƒ | [์ œ๋กœ](https://www.acmicpc.net/problem/10773) | [#15](https://github.com/AlgoLeadMe/AlgoLeadMe-10/pull/15#issue-2229909173)
<<<<<<< Updated upstream
=======
| 5์ฐจ์‹œ | 2024.04.10 | ๊ทธ๋ฆฌ๋”” ์•Œ๊ณ ๋ฆฌ์ฆ˜ | [๊ตญํšŒ์˜์› ์„ ๊ฑฐ](https://www.acmicpc.net/problem/1417) | [#18](https://github.com/AlgoLeadMe/AlgoLeadMe-10/pull/18#issue-2235862658)
| 6์ฐจ์‹œ | 2024.05.10 | ๊ทธ๋ฆฌ๋”” ์•Œ๊ณ ๋ฆฌ์ฆ˜ | [ATM](https://www.acmicpc.net/problem/11399) | [#25](https://github.com/AlgoLeadMe/AlgoLeadMe-10/pull/25#issue-2289086909)
| 7์ฐจ์‹œ | 2024.05.10 | ์™„์ „ ํƒ์ƒ‰ ์•Œ๊ณ ๋ฆฌ์ฆ˜ | [์˜ํ™”๊ฐ๋… ์ˆŒ](https://www.acmicpc.net/problem/1436) | [#26](https://github.com/AlgoLeadMe/AlgoLeadMe-10/pull/25#issue-2289086909)
| 8์ฐจ์‹œ | 2024.05.14 | ๊ทธ๋ฆฌ๋”” ์•Œ๊ณ ๋ฆฌ์ฆ˜ | [ํŒ”](https://www.acmicpc.net/problem/1105) | [#28]()
>>>>>>> Stashed changes
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
L, R = input().split()

if len(L) != len(R): #๊ฐ ์ˆซ์ž์˜ ์ž๋ฆฟ์ˆ˜๊ฐ€ ๊ฐ™์•„์•ผ ํ•จ, ์„œ๋กœ ๋‹ค๋ฅด๋ฉด 0 ์ถœ๋ ฅ
print(0)
else:
eight = 0
for i in range(len(L)):
if L[i] == R[i] and L[i] == '8': #๊ฐ™์€ ์ž๋ฆฌ์˜ ์ˆซ์ž๊ฐ€ 8์ด๋ฉด
eight += 1 #8์˜ ๊ฐœ์ˆ˜ 1 ์ฆ๊ฐ€
else: #8์ด ์กด์žฌํ•˜๋Š” ์ž๋ฆฟ์ˆ˜๊ฐ€ ๋‹ค๋ฅด๋ฉด ๊ณ„์‚ฐํ•˜์ง€ ์•Š์Œ, ๋น„๊ต ์ค‘๋‹จ
break
print(eight)

0 comments on commit 2213f85

Please sign in to comment.