You are viewing a single comment's thread. Return to all comments →
here you go
len_A = map(int, input()) A= set(map(int, input().split())) N = int(input()) for i in range(0, N): command, length = input().split() Sec_set = set(map(int, input().split())) eval("A."+command+"(Sec_set)") print(sum(A))
Seems like cookies are disabled on this browser, please enable them to open this website
Set Mutations
You are viewing a single comment's thread. Return to all comments →
here you go