You are viewing a single comment's thread. Return to all comments →
Python
def organizingContainers(container): ts=sorted([sum(t) for t in zip(*container)]) cs=sorted([sum(c) for c in container]) return "Possible" if ts == cs else "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 →
Python