Nasty Hacks
This commit is contained in:
15
nastyhacks.py
Normal file
15
nastyhacks.py
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
n = int(input())
|
||||||
|
|
||||||
|
rets = []
|
||||||
|
for _ in range(n):
|
||||||
|
r, e, c = map(int, input().split(" "))
|
||||||
|
|
||||||
|
if r < e - c:
|
||||||
|
rets.append("advertise")
|
||||||
|
elif r == e - c:
|
||||||
|
rets.append("does not matter")
|
||||||
|
else:
|
||||||
|
rets.append("do not advertise")
|
||||||
|
|
||||||
|
for ret in rets:
|
||||||
|
print(ret)
|
||||||
Reference in New Issue
Block a user