baekjoon 20260205
This commit is contained in:
parent
67d9630ecb
commit
a540a76389
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