摘要:
Building Fire StationsTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3820DescriptionMarjar Uni...
阅读全文
posted @ 2015-09-24 20:41
qscqesze
阅读(369)
推荐(0)
摘要:
JourneyTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://acm.uestc.edu.cn/#/problem/show/92DescriptionBob has traveled to byteland, he find theNcities ...
阅读全文
posted @ 2015-09-24 20:30
qscqesze
阅读(491)
推荐(0)
摘要:
1878: [SDOI2009]HH的项链Time Limit: 1 Sec Memory Limit: 256 MB题目连接http://www.lydsy.com/JudgeOnline/problem.php?id=1878DescriptionHH有一串由各种漂亮的贝壳组成的项链。HH相信不...
阅读全文
posted @ 2015-09-23 21:37
qscqesze
阅读(291)
推荐(0)
摘要:
E. Kefa and WatchTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://codeforces.com/contest/580/problem/EDescriptionOne day Kefa the parrot was walking d...
阅读全文
posted @ 2015-09-23 12:26
qscqesze
阅读(569)
推荐(0)
摘要:
D. Kefa and DishesTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://codeforces.com/contest/580/problem/DDescriptionWhen Kefa came to the restaurant and...
阅读全文
posted @ 2015-09-23 10:52
qscqesze
阅读(519)
推荐(0)
摘要:
C. Kefa and ParkTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://codeforces.com/contest/580/problem/CDescriptionKefa decided to celebrate his first bi...
阅读全文
posted @ 2015-09-23 10:36
qscqesze
阅读(809)
推荐(0)
摘要:
B. Kefa and CompanyTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://codeforces.com/contest/580/problem/BDescriptionKefa wants to celebrate his first b...
阅读全文
posted @ 2015-09-23 10:32
qscqesze
阅读(493)
推荐(0)
摘要:
A. Kefa and First StepsTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://codeforces.com/contest/580/problem/ADescriptionKefa decided to make some money...
阅读全文
posted @ 2015-09-23 10:28
qscqesze
阅读(579)
推荐(0)
摘要:
B. Two SetsTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://codeforces.com/contest/468/problem/BDescriptionLittle X hasndistinct integers:p1, p2, ...,...
阅读全文
posted @ 2015-09-22 14:37
qscqesze
阅读(326)
推荐(0)
摘要:
A. 24 GameTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://codeforces.com/contest/468/problem/ADescriptionLittle X used to play a card game called "24...
阅读全文
posted @ 2015-09-22 12:04
qscqesze
阅读(243)
推荐(0)
摘要:
Couple TreesTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://hihocoder.com/problemset/problem/1232Description"Couple Trees" are two trees, a husband t...
阅读全文
posted @ 2015-09-21 19:09
qscqesze
阅读(1249)
推荐(0)
摘要:
Clarke and puzzleTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://hihocoder.com/contest/acmicpc2015beijingonline/problem/10DescriptionKyle is a studen...
阅读全文
posted @ 2015-09-21 17:34
qscqesze
阅读(1788)
推荐(2)
摘要:
Clarke and puzzleTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5465Description克拉克是一名人格分裂患者。某一天,有两个克拉克(aa和bb)在玩一个...
阅读全文
posted @ 2015-09-21 16:40
qscqesze
阅读(245)
推荐(0)
摘要:
Clarke and problemTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5464Description克拉克是一名人格分裂患者。某一天,克拉克分裂成了一个学生,在做题。...
阅读全文
posted @ 2015-09-21 16:26
qscqesze
阅读(254)
推荐(0)
posted @ 2015-09-21 16:08
qscqesze
阅读(0)
推荐(0)
摘要:
BoxesTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://hihocoder.com/contest/acmicpc2015beijingonline/problem/7DescriptionThere is a strange storehouse...
阅读全文
posted @ 2015-09-20 20:26
qscqesze
阅读(600)
推荐(0)
摘要:
FractalTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://hihocoder.com/contest/acmicpc2015beijingonline/problem/8DescriptionThis is the logo of PKUACM ...
阅读全文
posted @ 2015-09-20 20:18
qscqesze
阅读(618)
推荐(0)
摘要:
The Cats' Feeding SpotsTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://hihocoder.com/contest/acmicpc2015beijingonline/problem/1DescriptionIn Yan Yuan...
阅读全文
posted @ 2015-09-20 20:10
qscqesze
阅读(971)
推荐(0)
摘要:
Largest PointTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5461DescriptionGiven the sequence A with n integers t...
阅读全文
posted @ 2015-09-19 23:07
qscqesze
阅读(325)
推荐(0)
摘要:
Jesus Is HereTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5459DescriptionI've sent Fang Fang around 201314 text...
阅读全文
posted @ 2015-09-19 23:02
qscqesze
阅读(399)
推荐(0)
摘要:
Fang FangTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5455DescriptionFang Fang says she wants to be remembered....
阅读全文
posted @ 2015-09-19 22:54
qscqesze
阅读(447)
推荐(0)
摘要:
Minimum CutTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5452DescriptionGiven a simple unweighted graph G (an un...
阅读全文
posted @ 2015-09-19 22:48
qscqesze
阅读(519)
推荐(0)
摘要:
IntersectionTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5120DescriptionMatt is a big fan of logo design. Recen...
阅读全文
posted @ 2015-09-17 20:34
qscqesze
阅读(286)
推荐(0)
摘要:
Dire WolfTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5115DescriptionDire wolves, also known as Dark wolves, ar...
阅读全文
posted @ 2015-09-17 20:31
qscqesze
阅读(744)
推荐(1)
摘要:
A Curious MattTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5112DescriptionThere is a curious man called Matt. ...
阅读全文
posted @ 2015-09-17 20:28
qscqesze
阅读(432)
推荐(0)
摘要:
void extend_gcd(ll a,ll &x,ll b,ll &y){ if(b==0){ x=1,y=0; return; } ll x1,y1; extend_gcd(b,x1,a%b,y1); x=y1; y=x1-(a/...
阅读全文
posted @ 2015-09-17 15:52
qscqesze
阅读(268)
推荐(0)
摘要:
C. Weakness and PoornessTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://codeforces.com/contest/578/problem/CDescriptionYou are given a sequence of n ...
阅读全文
posted @ 2015-09-17 02:30
qscqesze
阅读(315)
推荐(0)
摘要:
B. "Or" GameTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://codeforces.com/contest/578/problem/BDescriptionYou are givennnumbersa1, a2, ..., an. You ...
阅读全文
posted @ 2015-09-17 02:25
qscqesze
阅读(304)
推荐(0)
摘要:
1199: [HNOI2005]汤姆的游戏Time Limit: 1 Sec Memory Limit: 256 MB题目连接http://www.lydsy.com/JudgeOnline/problem.php?id=1199Description汤姆是个好动的孩子,今天他突然对圆规和直尺来了兴...
阅读全文
posted @ 2015-09-16 18:56
qscqesze
阅读(509)
推荐(0)
摘要:
//http://www.cnblogs.com/HarryGuo2012/p/4524041.html#include#include#include#include#include#include#include#include#define MAX_L 2005 //最大长度,可以修改usin...
阅读全文
posted @ 2015-09-15 23:20
qscqesze
阅读(450)
推荐(0)
摘要:
Food ProblemTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5445DescriptionFew days before a game of orienteering,...
阅读全文
posted @ 2015-09-14 12:31
qscqesze
阅读(881)
推荐(0)
摘要:
#include#include#include#include #include#include#include#include#include using namespace std;int Now_Type=0;struct Cla//课程{ int Num;//课程编号 stri...
阅读全文
posted @ 2015-09-14 09:22
qscqesze
阅读(658)
推荐(0)
摘要:
Unknown TreasureTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5446DescriptionOn the way to the next secret treas...
阅读全文
posted @ 2015-09-13 18:26
qscqesze
阅读(1230)
推荐(1)
摘要:
Elven PostmanTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5444DescriptionElves are very peculiar creatures. As ...
阅读全文
posted @ 2015-09-13 18:18
qscqesze
阅读(1012)
推荐(0)
摘要:
The Water ProblemTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5443DescriptionIn Land waterless, water is a very...
阅读全文
posted @ 2015-09-13 18:11
qscqesze
阅读(1031)
推荐(1)
摘要:
Favorite DonutTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5442DescriptionLulu has a sweet tooth. Her favorite ...
阅读全文
posted @ 2015-09-13 18:07
qscqesze
阅读(781)
推荐(0)
摘要:
TravelTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5441DescriptionJack likes to travel around the world, but he...
阅读全文
posted @ 2015-09-13 17:53
qscqesze
阅读(1213)
推荐(0)
摘要:
PondsTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://acm.hdu.edu.cn/contests/contest_showproblem.php?pid=1001&cid=621DescriptionBetty owns a lot of p...
阅读全文
posted @ 2015-09-13 17:48
qscqesze
阅读(1539)
推荐(1)
摘要:
Alisha’s PartyTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://acm.hdu.edu.cn/contests/contest_showproblem.php?pid=1001&cid=621DescriptionPrincess Ali...
阅读全文
posted @ 2015-09-13 17:40
qscqesze
阅读(2101)
推荐(0)
摘要:
Xiao Ming climbingTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://bestcoder.hdu.edu.cn/contests/contest_chineseproblem.php?cid=629&pid=1002Descriptio...
阅读全文
posted @ 2015-09-12 22:27
qscqesze
阅读(203)
推荐(0)