a,b = map(int,input().split())
c,d = map(int,input().split())
if a*b>c*d:
print("b is smaller")
elif a*b == c*d:
print("b is smaller")
else:
print("a is smaller")
정답
'정올 > intermediate' 카테고리의 다른 글
정올 4698 그래프 탐색-DFS > Tutorial: for문의 두번째 문법(range_based_for) (1) | 2025.02.05 |
---|---|
정올 4989 자료구조 - Tutorial: STL Map (1) | 2025.01.23 |
정올 4524 분할정복 - Tutorial: STL Sort 2 (1) | 2025.01.17 |