Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
131520 6倪葭轩 寻找第二小的数 Python3 Accepted 56 MS 3752 KB 210 2025-09-27 14:36:10

Tests(1/1):


Code:

c=int(input()) for x in range(c): a=input() b=input().split() b=[int(x) for x in b] b=list(set(b)) b.sort() if len(b)==1: print('NO') else: print(b[1])