Is there any who help me to solve that(https://codeforces.com/problemset/problem/1325/B) problem with python..my code is given below but with a runtime error?
n_case=int(input())
for i in range(n_case):
n_arr=int(input()) empty=[] l=0 for j in range(1): taking_eli=list(map(int,input().split())) l+=len(taking_eli) empty+=taking_eli mul=empty*l get_distinc=set(mul) print(len(get_distinc))
2.1m questions
2.1m answers
63 comments
56.6k users