baekjoon 20250206
This commit is contained in:
parent
67d9630ecb
commit
42a6d794e5
5
code_study/Baekjoon/python/1547.py
Normal file
5
code_study/Baekjoon/python/1547.py
Normal file
@ -0,0 +1,5 @@
|
||||
ans = 1
|
||||
for _ in range(int(input())) :
|
||||
a, b = map(int, input().split())
|
||||
ans = a if b == ans else b if a == ans else ans
|
||||
print(ans)
|
||||
Loading…
x
Reference in New Issue
Block a user