![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
【鸽巢原理(抽屉原理)】
Mr丶Gao
加油!
展开
-
HDU 1205.吃糖果【鸽巢原理】【8月1】
吃糖果 Problem Description HOHO,终于从Speakless手上赢走了所有的糖果,是Gardon吃糖果时有个特殊的癖好,就是不喜欢将一样的糖果放在一起吃,喜欢先吃一种,下一次吃另一种,这样;可是Gardon不知道是否存在一种吃糖果的顺序使得他能把所有糖果都吃完?请你写个程序帮忙计算一下。 Input 第一行有一个整数T,接下来T组原创 2015-08-01 20:25:46 · 814 阅读 · 0 评论 -
HDU 1808.Halloween treats【鸽巢原理】【11月25】
alloween treats Problem Description Every 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 c原创 2015-11-25 17:39:43 · 602 阅读 · 0 评论