You are viewing a single comment's thread. Return to all comments →
def organizingContainers(container): dt=set() a=[0]*len(container) for i in range(len(container)): dt.add(sum(container[i])) for j in range(len(container)): a[j]+=container[i][j] a.sort() if set(a)==dt: return 'Possible' else: return 'Impossible
Seems like cookies are disabled on this browser, please enable them to open this website
Organizing Containers of Balls
You are viewing a single comment's thread. Return to all comments →