본문 바로가기

코테 준비

백준 5063번 - TGN(Python)

n = int(input())

for i in range(n):
    r, e, c = map(int, input().split())

    if r < e-c:
        print("advertise")
    elif r == e-c:
        print("does not matter")
    else:
        print("do not advertise")