ZOJ4118 Stones in the Bucket

Description: intput: output: Sample Input 4 3 1 1 0 4 2 2 2 2 3 0 1 4 1 1000000000 Sample Output 2 0 3 0 Hint For the first sample test case, one can remove all the stones in the first two buckets.
相關文章
相關標籤/搜索