본문 바로가기

Programming [Python]/백준 알고리즘 솔루션

#180 백준 파이썬 [5063] TGN

https://www.acmicpc.net/problem/5063

 

#Solution

case = int(input())

for _ in range(case):
    r, e, c = map(int, input().split())
    if r > e - c:
        print('do not advertise')
    elif r == e - c:
        print('does not matter')
    else:
        print('advertise')