08 2015 档案
LCS模板
摘要:时间复杂度O(m*n)#include #include #include #include #include #include #include #include #define INF 0x3f3f3f3f#define maxn 10000+10#define cle(a) memset(a,... 阅读全文
posted @ 2015-08-27 14:39 Beserious 阅读(417) 评论(0) 推荐(0) 编辑
POJ 1159 Palindrome
摘要:PalindromeTime Limit:3000MSMemory Limit:65536KTotal Submissions:56756Accepted:19631DescriptionA palindrome is a symmetrical string, that is, a string ... 阅读全文
posted @ 2015-08-27 14:06 Beserious 阅读(175) 评论(0) 推荐(0) 编辑
LIS n^2&nlogn模板
摘要:LIS nlogn模板http://acm.hdu.edu.cn/showproblem.php?pid=1950#include #include #include #include #include #include #define maxn 40000+10using namespace st... 阅读全文
posted @ 2015-08-26 20:45 Beserious 阅读(241) 评论(0) 推荐(0) 编辑
Codeforces Round #Pi (Div. 2) C. Geometric Progression
摘要:C. Geometric Progressiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarp loves geometric ... 阅读全文
posted @ 2015-08-25 16:18 Beserious 阅读(217) 评论(0) 推荐(0) 编辑
Codeforces Beta Round #25 (Div. 2 Only)E. Test
摘要:E. Testtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputSometimes it is hard to prepare tests for... 阅读全文
posted @ 2015-08-24 20:02 Beserious 阅读(194) 评论(0) 推荐(0) 编辑
Codeforces Beta Round #25 (Div. 2 Only)D. Roads not only in Berland
摘要:D. Roads not only in Berlandtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputBerland Government d... 阅读全文
posted @ 2015-08-24 19:58 Beserious 阅读(196) 评论(0) 推荐(0) 编辑
Codeforces Beta Round #25 (Div. 2 Only) C. Roads in Berland
摘要:C. Roads in Berlandtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere arencities numbered fro... 阅读全文
posted @ 2015-08-24 19:53 Beserious 阅读(277) 评论(0) 推荐(0) 编辑
HDU 3714/UVA1476 Error Curves
摘要:Error CurvesTime Limit: 4000/2000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 4137Accepted Submission(s): 1549Proble... 阅读全文
posted @ 2015-08-22 16:58 Beserious 阅读(182) 评论(0) 推荐(0) 编辑
HDU 5410 CRB and His Birthday
摘要:CRB and His BirthdayTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 341Accepted Submission(s): 181... 阅读全文
posted @ 2015-08-21 15:27 Beserious 阅读(217) 评论(0) 推荐(0) 编辑
HDU 1796 How many integers can you find
摘要:How many integers can you findTime Limit: 12000/5000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5605Accepted Submis... 阅读全文
posted @ 2015-08-20 11:09 Beserious 阅读(165) 评论(0) 推荐(0) 编辑
UVA 11624 Fire!
摘要:数据:34 4#####JF##..##..#3 3FFFFJFFFF3 3....J....嗯,被第三个数据卡啦半天....两次BFS 预处理一下每个点最早着火的时间./* ***********************************************Author :... 阅读全文
posted @ 2015-08-20 00:34 Beserious 阅读(187) 评论(0) 推荐(0) 编辑
POJ 3279 Dungeon Master
摘要:Dungeon MasterTime Limit:1000MSMemory Limit:65536KTotal Submissions:21242Accepted:8265DescriptionYou are trapped in a 3D dungeon and need to find the ... 阅读全文
posted @ 2015-08-19 19:19 Beserious 阅读(134) 评论(0) 推荐(0) 编辑
POJ 1321 棋盘问题
摘要:棋盘问题Time Limit:1000MSMemory Limit:10000KTotal Submissions:28733Accepted:14220Description在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一... 阅读全文
posted @ 2015-08-19 18:37 Beserious 阅读(143) 评论(0) 推荐(0) 编辑
Fzu 2150 Fire Game
摘要:Problem 2150 Fire Game Accept: 864 Submit: 3207Time Limit: 1000 mSec Memory Limit : 32768 KB Problem Description Fat brother and Maze are playing a ki 阅读全文
posted @ 2015-08-19 00:14 Beserious 阅读(232) 评论(0) 推荐(0) 编辑
HDU 4135 Co-prime
摘要:Co-prime Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2371 Accepted Submission(s): 887 Problem 阅读全文
posted @ 2015-08-18 10:44 Beserious 阅读(159) 评论(0) 推荐(0) 编辑
ZOJ 3261 Connections in Galaxy War
摘要:Connections in Galaxy WarTime Limit:3 Seconds Memory Limit:32768 KBIn order to strengthen the defense ability, many stars in galaxy allied together an... 阅读全文
posted @ 2015-08-17 13:11 Beserious 阅读(221) 评论(0) 推荐(0) 编辑
POJ 1182 食物链
摘要:食物链Time Limit:1000MSMemory Limit:10000KTotal Submissions:53679Accepted:15738Description动物王国中有三类动物A,B,C,这三类动物的食物链构成了有趣的环形。A吃B, B吃C,C吃A。现有N个动物,以1-N编号。每个... 阅读全文
posted @ 2015-08-17 00:03 Beserious 阅读(186) 评论(0) 推荐(0) 编辑
POJ 1733 Parity game
摘要:Parity gameTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 7101 Accepted: 2751DescriptionNow and then you play the following game with you... 阅读全文
posted @ 2015-08-16 15:55 Beserious 阅读(182) 评论(0) 推荐(0) 编辑
HDU3047 Zjnu Stadium
摘要:Zjnu StadiumTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2302Accepted Submission(s): 876Problem... 阅读全文
posted @ 2015-08-15 17:08 Beserious 阅读(162) 评论(0) 推荐(0) 编辑
HDU 1829/POJ 2492 A Bug's Life
摘要:A Bug's LifeTime Limit: 15000/5000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 11981Accepted Submission(s): 3901Prob... 阅读全文
posted @ 2015-08-15 11:35 Beserious 阅读(200) 评论(1) 推荐(0) 编辑