上一页 1 2 3 4 5 6 7 8 9 10 ··· 15 下一页
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=5475An easy problemTime Limit: 8000/5000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Sub... 阅读全文
posted @ 2015-10-04 16:11 午夜阳光~ 阅读(175) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=5491题目大意:给定一个数D,它的二进制数中1的个数为L,求比D大的数的最小值x且x的二进制数中1的个数num满足s1 s2,从右到左找1的最小位i,将该位+1(即:1的个数多了,需要减少1),n的值则增加2^i(... 阅读全文
posted @ 2015-09-30 17:55 午夜阳光~ 阅读(197) 评论(0) 推荐(0) 编辑
摘要: http://poj.org/problem?id=3216Repairing CompanyTime Limit:1000MSMemory Limit:131072KTotal Submissions:6776Accepted:1822DescriptionLily runs a repairin... 阅读全文
posted @ 2015-09-26 12:06 午夜阳光~ 阅读(317) 评论(0) 推荐(0) 编辑
摘要: #include#define MaxSize 100typedef int DataType;typedef struct//定义结构体Seqlist{ DataType list[MaxSize]; int size;} SeqList;//初始化顺序表Lvoid ListIniti... 阅读全文
posted @ 2015-09-25 15:36 午夜阳光~ 阅读(1025) 评论(0) 推荐(1) 编辑
摘要: http://poj.org/problem?id=2594Treasure ExplorationTime Limit:6000MSMemory Limit:65536KTotal Submissions:7398Accepted:3025DescriptionHave you ever read... 阅读全文
posted @ 2015-09-23 09:56 午夜阳光~ 阅读(160) 评论(0) 推荐(0) 编辑
摘要: http://poj.org/problem?id=1719Shooting ContestTime Limit:1000MSMemory Limit:10000KTotal Submissions:4135Accepted:1521Special JudgeDescriptionWelcome t... 阅读全文
posted @ 2015-09-18 17:58 午夜阳光~ 阅读(226) 评论(0) 推荐(0) 编辑
摘要: http://poj.org/problem?id=2239这里要处理的是构图问题p (1 #include#include#include#include#include#define INF 0x3f3f3f3f#define N 310using namespace std;int G[N][... 阅读全文
posted @ 2015-09-16 17:04 午夜阳光~ 阅读(119) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=5400Arithmetic SequenceTime Limit: 4000/2000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total ... 阅读全文
posted @ 2015-09-11 17:29 午夜阳光~ 阅读(157) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1024Max Sum Plus PlusTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Su... 阅读全文
posted @ 2015-09-09 13:06 午夜阳光~ 阅读(114) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1155Bungee JumpingTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submi... 阅读全文
posted @ 2015-09-08 21:45 午夜阳光~ 阅读(174) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 15 下一页