QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#846721#9481. Min NimSanya#Compile Error//Python3237b2025-01-07 12:45:592025-01-07 12:46:00

Judging History

你现在查看的是最新测评结果

  • [2025-01-07 12:46:00]
  • 评测
  • [2025-01-07 12:45:59]
  • 提交

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 ':'