摘要:
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... 阅读全文
摘要:
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(... 阅读全文
摘要:
http://poj.org/problem?id=3216Repairing CompanyTime Limit:1000MSMemory Limit:131072KTotal Submissions:6776Accepted:1822DescriptionLily runs a repairin... 阅读全文
摘要:
#include#define MaxSize 100typedef int DataType;typedef struct//定义结构体Seqlist{ DataType list[MaxSize]; int size;} SeqList;//初始化顺序表Lvoid ListIniti... 阅读全文
摘要:
http://poj.org/problem?id=2594Treasure ExplorationTime Limit:6000MSMemory Limit:65536KTotal Submissions:7398Accepted:3025DescriptionHave you ever read... 阅读全文
摘要:
http://poj.org/problem?id=1719Shooting ContestTime Limit:1000MSMemory Limit:10000KTotal Submissions:4135Accepted:1521Special JudgeDescriptionWelcome t... 阅读全文
摘要:
http://poj.org/problem?id=2239这里要处理的是构图问题p (1 #include#include#include#include#include#define INF 0x3f3f3f3f#define N 310using namespace std;int G[N][... 阅读全文
摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=5400Arithmetic SequenceTime Limit: 4000/2000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total ... 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文