摘要:
Problem link:http://oj.leetcode.com/problems/candy/Suppose we are given an array R[1..N] that are ratings of N children.Let C[1..N] be a new array where C[i] is the number of candies for i-th child.From the description, C[i] should meet following requirements:LEAST. C[i] is at least 1, for i = 1, .. 阅读全文
posted @ 2014-04-06 23:30 卢泽尔 阅读(288) 评论(0) 推荐(0)
浙公网安备 33010602011771号