2015年5月7日
摘要:
AllowanceTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 1842Accepted: 763DescriptionAs a reward for record milk production, Farmer John has ...
阅读全文
posted @ 2015-05-07 10:58
细雨微光
阅读(390)
推荐(0)
2015年5月5日
摘要:
Code the TreeTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 2350Accepted: 906DescriptionA tree (i.e. a connected graph without cycles) with ...
阅读全文
posted @ 2015-05-05 16:39
细雨微光
阅读(398)
推荐(0)
摘要:
SticksTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 126238Accepted: 29477DescriptionGeorge took sticks of the same length and cut them rand...
阅读全文
posted @ 2015-05-05 08:32
细雨微光
阅读(287)
推荐(0)
2015年5月4日
摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1251AC代码: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 using namespac...
阅读全文
posted @ 2015-05-04 12:32
细雨微光
阅读(233)
推荐(0)
2015年5月3日
摘要:
Lazy SalesgirlTime Limit: 5 Seconds Memory Limit: 65536 KBKochiya Sanae is a lazy girl who makes and sells bread. She is an expert at bread making ...
阅读全文
posted @ 2015-05-03 13:51
细雨微光
阅读(214)
推荐(0)
2015年5月2日
摘要:
Unrequited LoveTime Limit: 16 Seconds Memory Limit: 131072 KBThere are n single boys and m single girls. Each of them may love none, one or several...
阅读全文
posted @ 2015-05-02 21:00
细雨微光
阅读(438)
推荐(0)
2015年4月30日
摘要:
题目链接:http://acm.nyist.net/JudgeOnline/status.php?pid=284特殊数据:5 5BBEEYEEERBSSERBSSERBSSETB7非优先队列: 1 2 #include 3 #include 4 #include 5 #include 6 #in...
阅读全文
posted @ 2015-04-30 12:40
细雨微光
阅读(430)
推荐(0)
摘要:
题目链接:http://poj.org/problem?id=2828类似的题目:http://www.cnblogs.com/lovychen/p/3674048.html测试数据:in:40 771 511 332 6940 205231 192431 38900 31492out:77 33 ...
阅读全文
posted @ 2015-04-30 09:17
细雨微光
阅读(353)
推荐(0)
2015年4月29日
摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4708测试数据:51 9 9 1 11 9 9 9 99 9 9 9 99 9 9 9 11 1 9 9 181 1 1 #include 2 #include 3 #include 4 using na...
阅读全文
posted @ 2015-04-29 20:49
细雨微光
阅读(229)
推荐(0)
摘要:
题目链接:题目AC代码: 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 const int N = 2010; 8 int m,n; 9 bool vis[N][N],vis1[N];1...
阅读全文
posted @ 2015-04-29 09:47
细雨微光
阅读(342)
推荐(0)