摘要: Well, this problem seems to be a little tricky at first glance. However, the idea (taken from this link) is really simple. Let's take the equation 2*3... 阅读全文
posted @ 2015-07-27 23:32 jianchao-li 阅读(432) 评论(0) 推荐(0)
摘要: Well, you may need to run some examples to have the intuition for the answer since we only require children with higher rating get more candies than t... 阅读全文
posted @ 2015-07-27 00:32 jianchao-li 阅读(173) 评论(0) 推荐(0)