12 lines
500 B
Python
12 lines
500 B
Python
def initial_calculations(input_sets, u_set):
|
|
results = []
|
|
results.append(input_sets[1] & (u_set - input_sets[2]))
|
|
results.append((u_set - input_sets[0]) & input_sets[2])
|
|
results.append(input_sets[0] & input_sets[1])
|
|
results.append(results[1] | results[2])
|
|
results.append(results[0] | results[3])
|
|
results.append((u_set - input_sets[2]) | results[4])
|
|
results.append(input_sets[1] | results[5])
|
|
results.append((u_set - input_sets[0]) | results[6])
|
|
return results
|