← Back to List
34626번: Increase or Smash ↗
Solutions
Python 3
104 B | 104 chars
for _ in range(int(input())): input() k = len(set([*map(int, input().split())])) print((k-1)*2+1)