Skip to content

Commit

Permalink
29-xxubin04
Browse files Browse the repository at this point in the history
  • Loading branch information
xxubin04 committed Feb 19, 2024
1 parent 7592a3c commit 1df14f2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
input = open(0).readline

days, tteok_num = map(int, input().split())

for i in range(1, tteok_num):
for j in range(i, tteok_num):
a = i; b = j
for k in range(2, days):
temp = a + b
a = b
b = temp

if temp == tteok_num:
print(f"{i}\n{j}")
exit()
4 changes: 3 additions & 1 deletion xxubin04/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,6 @@
| 24์ฐจ์‹œ | 2024.01.29 | DP | <a href="https://www.acmicpc.net/problem/1495">[1495]๊ธฐํƒ€๋ฆฌ์ŠคํŠธ</a> | https://github.com/AlgoLeadMe/AlgoLeadMe-3/pull/86 |
| 25์ฐจ์‹œ | 2024.02.01 | ๊ตฌํ˜„ | <a href="https://leetcode.com/problems/roman-to-integer/">[13]Roman to Integer</a> | https://github.com/AlgoLeadMe/AlgoLeadMe-3/pull/91 |
| 26์ฐจ์‹œ | 2024.02.05 | ์—๋ผํ† ์Šคํ…Œ๋„ค์Šค์˜ ์ฒด | <a href="https://www.acmicpc.net/problem/4948">[4948]๋ฒ ๋ฅดํŠธ๋ž‘ ๊ณต์ค€</a> | https://github.com/AlgoLeadMe/AlgoLeadMe-3/pull/94 |
| 27์ฐจ์‹œ | 2024.02.08 | ์ˆ˜ํ•™ | <a href="https://www.acmicpc.net/problem/2885">[2885]์ดˆ์ฝœ๋ฆฟ ์‹์‚ฌ</a> | https://github.com/AlgoLeadMe/AlgoLeadMe-3/pull/98 |
| 27์ฐจ์‹œ | 2024.02.08 | ์ˆ˜ํ•™ | <a href="https://www.acmicpc.net/problem/2885">[2885]์ดˆ์ฝœ๋ฆฟ ์‹์‚ฌ</a> | https://github.com/AlgoLeadMe/AlgoLeadMe-3/pull/98 |
| 28์ฐจ์‹œ | 2024.02.15 | ์ด์ง„ํƒ์ƒ‰ | <a href="https://www.acmicpc.net/problem/2805">[2805]๋‚˜๋ฌด ์ž๋ฅด๊ธฐ</a> | https://github.com/AlgoLeadMe/AlgoLeadMe-3/pull/108 |
| 29์ฐจ์‹œ | 2024.02.19 | DP | <a href="https://www.acmicpc.net/problem/2502">[2502]๋–ก ๋จน๋Š” ํ˜ธ๋ž‘์ด</a> | https://github.com/AlgoLeadMe/AlgoLeadMe-3/pull/110 |

0 comments on commit 1df14f2

Please sign in to comment.