본문 바로가기
알고리즘/백준

백준-5063번(TGN)-python3

by nyeongha 2023. 11. 26.
for x in range(int(input())):
    a,b,c=map(int,input().split())
    if a==b-c:
        print("does not matter")
    elif a>b-c:
        print('do not advertise')
    else:print('advertise')