摘要:
链接:http://acm.hdu.edu.cn/showproblem.php?pid=4738题目大意:曹操有很多岛屿,然后呢需要建造一些桥梁将所有的岛屿链接起来,周瑜要做的是就是不让曹操将所有岛屿连接起来,每个座桥有人在守卫, 周瑜只能炸一座桥,并且他派人去炸桥只能派的人数必须 大于等于守桥的... 阅读全文
摘要:
链接:http://acm.hdu.edu.cn/showproblem.php?pid=2236代码:#include#include#include#include#includeusing namespace std;#define N 105#define INF 0xffffff///匹配... 阅读全文
摘要:
链接:http://poj.org/problem?id=1751Time Limit:1000MSMemory Limit:10000KTotal Submissions:11507Accepted:3279Special JudgeDescriptionThe island nation of ... 阅读全文
摘要:
链接:http://acm.hdu.edu.cn/showproblem.php?pid=4160代码:#include#include#include#includeusing namespace std;#define N 550/// 匹配struct node {int w, l, h;}a... 阅读全文
摘要:
链接:http://acm.hust.edu.cn/vjudge/contest/view.action?cid=87813#problem/JDescriptionDaniel has a strings, consisting of lowercase English letters and p... 阅读全文
摘要:
链接:http://codeforces.com/problemset/problem/570/Bhttp://acm.hust.edu.cn/vjudge/contest/view.action?cid=87813#problem/I代码:#include#include#define N 110... 阅读全文