You are viewing a single comment's thread. Return to all comments →
In 3 lines
n = int(input().strip()) arr = [int(arr_temp) for arr_temp in input().strip().split(' ')] while(len(arr)): print(len(arr)) arr = [x - min(arr) for x in arr if x - min(arr)>0]
Seems like cookies are disabled on this browser, please enable them to open this website
Cut the sticks
You are viewing a single comment's thread. Return to all comments →
In 3 lines