I-The Crime-solving Plan of Groundhog
python 继续nb
t = int(input()) for ts in range(0, t): n = int(input()) data = list(map(int, input().split())) data = sorted(data) l = 0 for i in range(0, n): if data[i] != 0: l = i break a = data[l] b = data[l + 1] data[l + 1] = 100 data[l] = 100 b = int(str(b) + ''.join([str(item) for item in data if item != 100])) print(a * b)