PLDD @ 2023-11-05 08:56:25
这道题我没太理解,好多题我都没太理解,比如其中5%是什么东西,求哪位大佬可以告诉我这道题的思路
by tiansuohaoer114514 @ 2023-11-25 23:03:53
n = int(input())
pre_sick, pre_health = map(int, input().split())
x = pre_health / pre_sick
for i in range(n - 1):
new_sick, new_health = map(int, input().split())
y = new_health / new_sick
if x - y > 0.05:
print('worse')
elif y - x > 0.05:
print('better')
else:
print('same')