
[해커랭크] Cut the sticks https://www.hackerrank.com/challenges/cut-the-sticks/problem?isFullScreen=true Cut the sticks | HackerRankGiven the lengths of n sticks, print the number of sticks that are left before each cut operation.www.hackerrank.com You are given a number of sticks of varying lengths. You will iteratively cut the sticks into smaller sticks, discarding the shortest pieces until there ..