Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
85512 丁俊杰 寻找第二小的数 Python3 Accepted 32 MS 3760 KB 187 2024-07-17 19:36:05

Tests(1/1):


Code:

n=int(input()) for _ in range(n): a=int(input()) b=list(map(int,input().split())) c=sorted(set(b)) if len(c)<2: print("NO") else: print(c[1])