- 博客(162)
- 资源 (1)
- 收藏
- 关注
原创 HDU 1856 More is better(并查集)
More is betterTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 327680/102400 K (Java/Others)Total Submission(s): 25387 Accepted Submission(s): 9107Problem DescriptionMr Wang want
2016-12-01 11:02:22
380
原创 HDU 5621 KK's Point(数学+规律题)
KK's PointTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1327 Accepted Submission(s): 439Problem DescriptionOur lovely KK has a
2016-12-01 10:55:24
391
原创 HDU 5387 Clock(模拟)
ClockTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1209 Accepted Submission(s): 685Problem DescriptionGive a time.(hh:mm:ss),yo
2016-12-01 10:44:23
490
原创 CODEVS 1169 传纸条(多线程DP)
1169 传纸条 2008年NOIP全国联赛提高组 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 钻石 Diamond题解题目描述 Description小渊和小轩是好朋友也是同班同学,他们在一起总有谈不完的话题。一次素质拓展活动中,班
2016-11-30 09:27:19
664
原创 CODEVS 1010 过河卒(棋盘型DP)
1010 过河卒 2002年NOIP全国联赛普及组 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 黄金 Gold题解题目描述 Description 如图,A 点有一个过河卒,需要走到目标 B 点。卒行走规则:可以向下、或者向右。同时在
2016-11-30 09:04:12
527
原创 CODEVS 1018 单词接龙(DFS)
1018 单词接龙 2000年NOIP全国联赛普及组NOIP全国联赛提高组 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 黄金 Gold题解 查看运行结果题目描述 Description 单词接龙是一个与我们经常玩的成语接龙相
2016-11-29 20:09:21
313
原创 CODEVS 1098 均分纸牌(贪心)
1098 均分纸牌 2002年NOIP全国联赛提高组 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 黄金 Gold题解题目描述 Description有 N 堆纸牌,编号分别为 1,2,…, N。每堆上有若干张,但纸牌总数必为 N 的倍
2016-11-29 19:53:42
390
原创 CODEVS 1068 乌龟棋(背包型DP)
1068 乌龟棋 2010年NOIP全国联赛提高组 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 钻石 Diamond题解题目描述 Description小明过生日的时候,爸爸送给他一副乌龟棋当作礼物。 乌龟棋的棋盘是一行N个格子,每个
2016-11-28 19:19:40
348
原创 CODEVS 1039 数的划分(划分型DP)
1039 数的划分 2001年NOIP全国联赛提高组 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 黄金 Gold题解题目描述 Description将整数n分成k份,且每份不能为空,任意两种划分方案不能相同(不考虑顺序)。例如:n
2016-11-28 14:17:09
318
原创 CODEVS 1116 四色问题(DFS)
1116 四色问题 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 黄金 Gold题解题目描述 Description给定N(小于等于8)个点的地图,以及地图上各点的相邻关系,请输出用4种颜色将地图涂色的所有方案数(要求相邻两点不能涂成相同的
2016-11-28 09:37:15
691
原创 CODEVS 1295 N皇后问题 (DFS)
1295 N皇后问题 时间限制: 2 s 空间限制: 128000 KB 题目等级 : 黄金 Gold题解题目描述 Description在n×n格的棋盘上放置彼此不受攻击的n个皇后。按照国际象棋的规则,皇后可以攻击与之处在同一行或同一列或同一斜线上的棋子。n
2016-11-28 09:15:24
283
原创 “玲珑杯”ACM比赛 Round #5 C -- Coco(递归)
C -- CocoTime Limit:1s Memory Limit:64MByteSubmissions:262Solved:125DESCRIPTIONCoco just learned a math operation call mod.Now,there is an integer aa and nn integers
2016-11-26 19:20:44
366
原创 “玲珑杯”ACM比赛 Round #5 H -- Variance(线段树+方差)
H -- VarianceTime Limit:1s Memory Limit:128MByteSubmissions:259Solved:80DESCRIPTIONAn array with length n is given.You should support 2 types of operations.1 x y chan
2016-11-26 19:07:45
651
原创 Code[VS] 1017 乘积最大 (划分型DP)
1017 乘积最大 2000年NOIP全国联赛普及组NOIP全国联赛提高组 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 黄金 Gold题解题目描述 Description今年是国际数学联盟确定的“2000——世界数学年”,又恰逢我国著名数学家
2016-11-24 17:12:15
388
原创 CODE[VS] 1048 石子归并(区间DP)
1048 石子归并 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 黄金 Gold题解题目描述 Description有n堆石子排成一列,每堆石子有一个重量w[i], 每次合并可以合并相邻的两堆石子,一次合并的代价为两堆石子的重量和w[i]+
2016-11-24 17:10:28
216
原创 HDU 1325 Is It A Tree?(判断是否为树)
Is It A Tree?Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 22511 Accepted Submission(s): 5117Problem DescriptionA tree is a
2016-11-21 17:15:51
212
原创 HDU 1272 小希的迷宫 (并查集)
小希的迷宫Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 45367 Accepted Submission(s): 14100Problem Description上次Gardon的迷宫城堡小希玩
2016-11-21 17:12:07
282
原创 HDU 5092 Seam Carving (DP+打印路径)
Seam CarvingTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1355 Accepted Submission(s): 534Problem DescriptionFish likes t
2016-11-09 21:00:44
474
原创 HDU 5584 LCM Walk (找规律+逆推)
LCM WalkTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1329 Accepted Submission(s): 684Problem DescriptionA frog has just
2016-11-09 20:58:14
586
原创 HDU 5093 Battle ships(二分图匹配)
Battle shipsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1238 Accepted Submission(s): 457Problem DescriptionDear contest
2016-11-09 17:32:14
248
原创 HDU 4811 Ball(公式)
BallTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2317 Accepted Submission(s): 968Problem DescriptionJenny likes balls. H
2016-11-09 09:30:55
412
原创 HDU 5965 扫雷(递推+枚举)
扫雷 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 702 Accepted Submission(s): 164Problem Description扫雷游戏是晨晨和小璐特别喜欢的智力游戏,她俩最近
2016-11-09 08:49:23
330
原创 HDU 5961 传递(竞赛图+判断有环)
传递 Time Limit: 12000/6000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 424 Accepted Submission(s): 187Problem Description我们称一个有向图G是传递的,当且仅当对任意三个
2016-11-07 19:56:06
1076
原创 HDU 5950 Recursive sequence(矩阵快速幂)
Recursive sequenceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 437 Accepted Submission(s): 220Problem DescriptionFarmer
2016-11-07 19:46:49
292
原创 HDU 5974 A Simple Math Problem (数学)
A Simple Math ProblemTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 86 Accepted Submission(s): 49Problem DescriptionGive
2016-11-07 09:34:11
955
1
原创 HDU 5979 Convex(数学)
ConvexTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 50 Accepted Submission(s): 42Problem DescriptionWe have a special con
2016-11-07 08:57:57
987
原创 HDU 5978 To begin or not to begin(水题)
To begin or not to beginTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 63 Accepted Submission(s): 44Problem DescriptionA b
2016-11-07 08:48:58
850
原创 HDU 5980 Find Small A(水题)
Find Small ATime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 86 Accepted Submission(s): 50Problem DescriptionAs is known to
2016-11-07 08:44:32
1141
原创 HDU 5963 朋友(找规律)
朋友Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 99 Accepted Submission(s): 67Problem DescriptionB君在围观一群男生和一群女生玩游戏,具体来说游戏是
2016-11-07 08:39:03
1500
原创 HDU 5968 异或密码
异或密码Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 332 Accepted Submission(s): 124Problem Description晨晨在纸上写了一个长度为N的非负整数序
2016-11-07 08:36:15
648
原创 HDU 5969 最大的位或 (找规律)
最大的位或Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 299 Accepted Submission(s): 163Problem DescriptionB君和G君聊天的时候想到了如下的问题。
2016-11-07 08:33:36
1569
原创 HDU 4267 A Simple Problem with Integers(线段树)
A Simple Problem with IntegersTime Limit: 5000/1500 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5447 Accepted Submission(s): 1726Problem Descri
2016-11-01 13:15:57
247
原创 HDU 4990 Reading comprehension(矩阵快速幂)
Reading comprehensionTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1548 Accepted Submission(s): 618Problem DescriptionRead
2016-10-28 17:11:56
282
原创 HDU 4857 逃生(拓扑排序+优先队列+反向建边)
逃生Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4429 Accepted Submission(s): 1262Problem Description糟糕的事情发生啦,现在大家都忙着逃命。但是逃命
2016-10-27 21:26:22
273
原创 HDU 1539 Shredding Company(DFS)
Shredding CompanyTime Limit: 5000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 614 Accepted Submission(s): 195Problem DescriptionYou have j
2016-10-27 21:17:45
316
原创 HDU 5137 How Many Maos Does the Guanxi Worth (最短路)
How Many Maos Does the Guanxi WorthTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 512000/512000 K (Java/Others)Total Submission(s): 2208 Accepted Submission(s): 861Problem
2016-10-13 19:41:42
298
原创 HDU 5131 Song Jiang's rank list(水题)
Song Jiang's rank listTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 512000/512000 K (Java/Others)Total Submission(s): 1463 Accepted Submission(s): 808Problem Description《Shu
2016-10-13 19:32:15
374
原创 HDU 5135 Little Zu Chongzhi's Triangles(数学题)
Little Zu Chongzhi's TrianglesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 512000/512000 K (Java/Others)Total Submission(s): 1613 Accepted Submission(s): 889Problem Descrip
2016-10-13 19:26:10
400
原创 HDU 5918 Sequence I (水题+字符串匹配)
Sequence ITime Limit: 3000/1500 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 862 Accepted Submission(s): 332Problem DescriptionMr. Frog has tw
2016-10-12 20:14:03
612
原创 HDU 1532 Drainage Ditches (最大流)
Drainage DitchesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 15617 Accepted Submission(s): 7436Problem DescriptionEvery
2016-10-12 14:28:07
262
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人