QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#846721 | #9481. Min Nim | Sanya# | Compile Error | / | / | Python3 | 237b | 2025-01-07 12:45:59 | 2025-01-07 12:46:00 |
Judging History
answer
def solve(n, a):
if n % 2 == 1:
return True
return a.count(max(a)) % 2 == 1
T = int(input())
for _ in range(T):
n = int(input())
a = map(int, input().split())
if solve(n, a):
print('First')
else
print('Second')
Details
File "answer.code", line 13 else ^ SyntaxError: expected ':'