Forced Choice

This commit is contained in:
2023-07-03 20:28:07 +02:00
parent 09861a2f4f
commit fed7a05832

4
forcedchoice.py Normal file
View File

@@ -0,0 +1,4 @@
n, p, s = map(int, input().split())
for _ in range(s):
cards = list(map(int, input().split()))[1:]
print("KEEP" if p in cards else "REMOVE")