。。。

导航

上一页 1 2 3 4 5 6 7 8 9 10 ··· 23 下一页

2017年8月28日 #

51nod 1384 全排列 【递归】

摘要: 1384 全排列 基准时间限制:1 秒 空间限制:131072 KB 分值: 0 难度:基础题 收藏 关注 1384 全排列 基准时间限制:1 秒 空间限制:131072 KB 分值: 0 难度:基础题 1384 全排列 基准时间限制:1 秒 空间限制:131072 KB 分值: 0 难度:基础题 阅读全文

posted @ 2017-08-28 16:11 大学僧 阅读(101) 评论(0) 推荐(0) 编辑

【背包专题】K - WHUgirls hdu3127 【二维完全背包】

摘要: There are many pretty girls in Wuhan University, and as we know, every girl loves pretty clothes, so do they. One day some of them got a huge rectangu 阅读全文

posted @ 2017-08-28 11:37 大学僧 阅读(157) 评论(0) 推荐(0) 编辑

【背包专题】J - Piggy-Bank hdu1114【完全背包】

摘要: Before ACM can do anything, a budget must be prepared and the necessary financial support obtained. The main income for this action comes from Irrever 阅读全文

posted @ 2017-08-28 09:33 大学僧 阅读(106) 评论(0) 推荐(0) 编辑

2017年8月27日 #

【背包专题】H - 钱币兑换问题 hdu1284【完全背包】

摘要: 在一个国家仅有1分,2分,3分硬币,将钱N兑换成硬币有很多种兑法。请你编程序计算出共有多少种兑法。 Input每行只有一个正整数N,N小于32768。Output对应每个输入,输出兑换方法数。Sample Input Sample Output 阅读全文

posted @ 2017-08-27 13:04 大学僧 阅读(128) 评论(0) 推荐(0) 编辑

【背包专题】C - The trouble of Xiaoqian hdu3591【混合背包:多重背包+完全背包】

摘要: In the country of ALPC , Xiaoqian is a very famous mathematician. She is immersed in calculate, and she want to use the minimum number of coins in eve 阅读全文

posted @ 2017-08-27 11:12 大学僧 阅读(112) 评论(0) 推荐(0) 编辑

2017年8月26日 #

5972: 【递归入门】全排列

摘要: 题目描述 排列与组合是常用的数学方法。 先给一个正整数 ( 1 < = n < = 10 ) 例如n=3,所有组合,并且按字典序输出: 1 2 3 1 3 2 2 1 3 2 3 1 3 1 2 3 2 1 排列与组合是常用的数学方法。 先给一个正整数 ( 1 < = n < = 10 ) 例如n= 阅读全文

posted @ 2017-08-26 16:56 大学僧 阅读(205) 评论(0) 推荐(0) 编辑

51nod 1136 欧拉函数【数论】

摘要: 1136 欧拉函数 基准时间限制:1 秒 空间限制:131072 KB 分值: 0 难度:基础题 收藏 关注 1136 欧拉函数 基准时间限制:1 秒 空间限制:131072 KB 分值: 0 难度:基础题 1136 欧拉函数 基准时间限制:1 秒 空间限制:131072 KB 分值: 0 难度:基 阅读全文

posted @ 2017-08-26 16:43 大学僧 阅读(111) 评论(0) 推荐(0) 编辑

【背包专题】G - Dividing hdu 1059【多重背包】

摘要: Marsha and Bill own a collection of marbles. They want to split the collection among themselves so that both receive an equal share of the marbles. Th 阅读全文

posted @ 2017-08-26 15:22 大学僧 阅读(99) 评论(0) 推荐(0) 编辑

【背包专题】I - 湫湫系列故事——减肥记I hdu4508【完全背包】

摘要: 对于吃货来说,过年最幸福的事就是吃了,没有之一! 但是对于女生来说,卡路里(热量)是天敌啊! 资深美女湫湫深谙“胖来如山倒,胖去如抽丝”的道理,所以她希望你能帮忙制定一个食谱,能使她吃得开心的同时,不会制造太多的天敌。 当然,为了方便你制作食谱,湫湫给了你每日食物清单,上面描述了当天她想吃的每种食物 阅读全文

posted @ 2017-08-26 14:30 大学僧 阅读(130) 评论(0) 推荐(0) 编辑

【背包专题】F - Ahui Writes Word hdu3732【01背包+二进制优化】

摘要: We all know that English is very important, so Ahui strive for this in order to learn more English words. To know that word has its value and complexi 阅读全文

posted @ 2017-08-26 11:50 大学僧 阅读(108) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 9 10 ··· 23 下一页