From e9c199e029c822a835b880c31abc39f4a6848f48 Mon Sep 17 00:00:00 2001 From: Jethro Stapelbroek Date: Fri, 13 May 2022 21:29:51 +0200 Subject: [PATCH] Nasty Hacks --- nastyhacks.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 nastyhacks.py diff --git a/nastyhacks.py b/nastyhacks.py new file mode 100644 index 0000000..a7f2fe6 --- /dev/null +++ b/nastyhacks.py @@ -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) \ No newline at end of file