码迷,mamicode.com
首页 >  
搜索关键字:farmer john wants th    ( 8242个结果
第一次集训个人赛 T1(签到题)
一、题目DescriptionWangpeng is good at drawing. Now he wants to say numbers like “521” to his girlfriend through the game draw something.Wangpeng can’t wr...
分类:其他好文   时间:2014-07-22 22:53:15    阅读次数:242
(CF#257)C. Jzzhu and Chocolate
Jzzhu has a big rectangular chocolate bar that consists of n?×?m unit squares. He wants to cut this bar exactly k times. Each cut must meet the following requirements: each cut should be straig...
分类:其他好文   时间:2014-07-22 22:49:15    阅读次数:192
(CF#257)A. Jzzhu and Children
There are n children in Jzzhu's school. Jzzhu is going to give some candies to them. Let's number all the children from 1 to n. The i-th child wants to get at least ai candies. Jzzhu asks childre...
分类:其他好文   时间:2014-07-22 22:49:13    阅读次数:237
discuz 限制只能中文注册用户名称
1:修改uc_client\model\user.phpfunction check_username($username) { $guestexp = '\xA1\xA1|\xAC\xA3|^Guest|^\xD3\xCE\xBF\xCD|\xB9\x43\xAB\xC8'; $len = $th...
分类:其他好文   时间:2014-07-20 22:01:28    阅读次数:214
POJ2063 Investment 【完全背包】
Investment Time Limit: 1000MS   Memory Limit: 30000K Total Submissions: 8019   Accepted: 2747 Description John never knew he had a grand-uncle, until he received the no...
分类:其他好文   时间:2014-07-20 15:38:51    阅读次数:240
POJ 1837 Balance DP
Balance Time Limit: 1000MS   Memory Limit: 30000K Total Submissions: 10299   Accepted: 6372 Description Gigel has a strange "balance" and he wants to poise it. Actually, ...
分类:其他好文   时间:2014-07-19 23:46:59    阅读次数:381
百练2755 神奇的口袋 【深搜】or【动规】or【普通递归】or【递推】
总Time Limit:  10000ms  Memory Limit:  65536kB 有一个神奇的口袋,总的容积是40,用这个口袋可以变出一些物品,这些物品的总体积必须是40。John现在有n个想要得到的物品,每个物品的体积分别是a1,a2……an。John可以从这些物品中选择一些,如果选出的物体的总体积是40,那么利用这个神奇的口袋,John就可以得到这些物品。现在...
分类:其他好文   时间:2014-07-19 23:14:09    阅读次数:222
UVA No Tipping
Problem A - No Tipping As Archimedes famously observed, if you put an object on a lever arm,it will exert a twisting force around the lever's fulcrum. Thistwisting is called torque and is equal to th...
分类:其他好文   时间:2014-07-19 23:13:39    阅读次数:343
HDU 4450 Draw Something
Problem DescriptionWangpeng is good at drawing. Now he wants to say numbers like “521” to his girlfriend through the game draw something.Wangpeng can’...
分类:其他好文   时间:2014-07-19 18:24:12    阅读次数:205
UVA - 10273 Eat or Not to Eat?
Description Problem E Eat or not to Eat? Input: Standard Input Output: Standard Output A young farmer has N cows, but they produced really really a very very small amount of milk. John ca...
分类:其他好文   时间:2014-07-19 08:09:15    阅读次数:296
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!