scientific_comp_projects/CODE/[python]kattis/trivial/nasty_hacks.py
2021-10-29 15:16:40 +02:00

18 lines
327 B
Python

n = int(input())
tip = []
for i in range(n):
data = input()
r, e, c = data.split(' ')
total = int(e) - int(c) - int(r)
if total>0:
tip.append('advertise')
elif total<0:
tip.append('do not advertise')
else :
tip.append('does not matter')
for a in tip:
print(a)