摘要: DescriptionJohnny has a younger sister Anne, who is very clever and smart. As she came home from the kindergarten, she told his brother about the task that her kindergartener asked her to solve. The task was just to construct a triangle out of four sticks of different colours. Naturally, one of the 阅读全文
posted @ 2013-08-02 21:04 秋心无波 阅读(312) 评论(0) 推荐(0) 编辑
摘要: DescriptionPeter decided to wish happy birthday to his friend from Australia and send him a card. To make his present more mysterious, he decided to make achain. Chain here is such a sequence of envelopesA = {a1, a2, ..., an}, where the width and the height of thei-th envelope is strictly higher ... 阅读全文
posted @ 2013-08-02 21:03 秋心无波 阅读(389) 评论(0) 推荐(0) 编辑
摘要: DescriptionA new e-mail service "Berlandesk" is going to be opened in Berland in the near future. The site administration wants to launch their project as soon as possible, that's why they ask you to help. You're suggested to implement the prototype of site registration system. The 阅读全文
posted @ 2013-08-02 20:38 秋心无波 阅读(305) 评论(0) 推荐(0) 编辑
摘要: DescriptionTomorrow Peter has a Biology exam. He does not like this subject much, butddays ago he learnt that he would have to take this exam. Peter's strict parents made him prepare for the exam immediately, for this purpose he has to study not less thanminTimeiand not more thanmaxTimeihours pe 阅读全文
posted @ 2013-08-02 20:35 秋心无波 阅读(310) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionGigel has a strange "balance" and he wants to poise it. Actually, the device is different from any other ordinary balance. It orders two arms of negligible weight and each arm's length is 15. Some hooks are attached to these arms and Gigel wants to hang up some weigh 阅读全文
posted @ 2013-08-02 08:36 秋心无波 阅读(429) 评论(0) 推荐(0) 编辑