随笔分类 -  数学&&数论&&组合数学

POJ 3370 Halloween treats【抽屉原理】
摘要:题目链接:http://poj.org/problem?id=3370DescriptionEvery year there is the same problem at Halloween: Each neighbour is only willing to give a certain total number of sweets on that day, no matter how many children call on him, so it may happen that a child will get nothing if it is too late. To avoid co 阅读全文
posted @ 2013-03-07 18:38 crying_Dream 阅读(174) 评论(0) 推荐(0)
POJ 2356 Find a multiple【抽屉原理】
摘要:题目链接:http://poj.org/problem?id=2356DescriptionThe input contains N natural (i.e. positive integer) numbers ( N <= 10000 ). Each of that numbers is not greater than 15000. This numbers are not necessarily different (so it may happen that two or more of them will be equal). Your task is to choose a 阅读全文
posted @ 2013-03-07 18:37 crying_Dream 阅读(250) 评论(0) 推荐(0)