You are viewing a single comment's thread. Return to all comments →
def stones(n, a, b): return list(sorted( set(map(lambda x: x*a+b*(n-x-1), range (0, n)))))
Seems like cookies are disabled on this browser, please enable them to open this website
Manasa and Stones
You are viewing a single comment's thread. Return to all comments →