- 博客(103)
- 资源 (3)
- 收藏
- 关注
原创 hdoj 2841 Visible Trees 【容斥原理】
Visible TreesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1767 Accepted Submission(s): 724Problem DescriptionThere are many
2015-04-30 22:01:32 814
原创 hdoj 1518 Square 【dfs+剪枝】
SquareTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 9930 Accepted Submission(s): 3254Problem DescriptionGiven a set of stick
2015-04-30 20:42:15 387
原创 hdoj 1010 Tempter of the Bone 【dfs+奇偶剪枝】
Tempter of the BoneTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 83382 Accepted Submission(s): 22716Problem DescriptionThe do
2015-04-30 14:00:00 393
原创 hdoj 1284 钱币兑换问题
钱币兑换问题Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7069 Accepted Submission(s): 4125Problem Description在一个国家仅有1分,2分,3分硬币,将钱N
2015-04-29 21:13:40 518
原创 hpuoj 1668: Problem F Greedy Snake
1668: Problem F Greedy Snake时间限制: 1 Sec 内存限制: 128 MB提交: 13 解决: 7[提交][状态][讨论版]题目描述(Standard Input / Standard Output) A greedy snake, Peter, walks on n x m grids. Once a time, he can
2015-04-29 20:30:38 497
原创 hpuoj 1673: Problem K Lexicographically Largest Substring
1673: Problem K Lexicographically Largest Substring时间限制: 1 Sec 内存限制: 128 MB提交: 8 解决: 7[提交][状态][讨论版]题目描述 (Standard Input / Standard Output)Given a string, you should find the lexicograp
2015-04-29 20:24:41 747
原创 hdoj 1248 寒冰王座 【完全背包】
寒冰王座Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 12612 Accepted Submission(s): 6397Problem Description不死族的巫妖王发工资拉,死亡骑士拿到一张N元
2015-04-29 13:17:39 682
原创 hdoj 4135 Co-prime 【容斥原理】
Co-primeTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1882 Accepted Submission(s): 722Problem DescriptionGiven a number N, yo
2015-04-28 17:24:06 746
原创 hpuoj 1280: 迷上象棋的HH 【DP】
1280: 迷上象棋的HH时间限制: 1 Sec 内存限制: 128 MB提交: 10 解决: 3[提交][状态][讨论版]题目描述HH最近迷上了中国象棋,如图,A 点有一个过河卒,需要走到目标 B 点。卒行走规则:可以向下、或者向右。同时在棋盘上的任一点有一个对方的马(如上图的C点),该马所在的点和所有跳跃一步可达的点称为对方马的控制点。例如上图 C 点上的马可以控制
2015-04-28 15:51:11 406
原创 nyoj 288 Time
Time时间限制:1000 ms | 内存限制:65535 KB难度:2描述 Digital clock use 4 digits to express time, each digit is described by 3*3 characters (including”|”,”_”and” “).now given the current time, please t
2015-04-28 15:31:49 534
原创 nyoj 411 Friends number
Friends number时间限制:2000 ms | 内存限制:65535 KB难度:2描述 Paula and Tai are couple. There are many stories between them. The day Paula left by airplane, Tai send one message to telephone
2015-04-28 08:39:30 626
原创 nyoj 90 整数划分
整数划分时间限制:3000 ms | 内存限制:65535 KB难度:3描述 将正整数n表示成一系列正整数之和:n=n1+n2+…+nk, 其中n1≥n2≥…≥nk≥1,k≥1。 正整数n的这种表示称为正整数n的划分。求正整数n的不 同划分个数。 例如正整数6有如下11种不同的划分: 6; 5+1; 4+2,4+1+1; 3
2015-04-28 06:51:07 467
原创 nyoj 282 You are my brother
You are my brother时间限制:1000 ms | 内存限制:65535 KB难度:3描述 Little A gets to know a new friend, Little B, recently. One day, they realize that they are family 500 years ago. Now, Lit
2015-04-28 06:46:44 627
原创 hdoj 4302 Holedox Eating 【优先队列】
Holedox EatingTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3468 Accepted Submission(s): 1188Problem DescriptionHoledox is a
2015-04-26 20:41:23 413
原创 hdoj 1425 sort
sortTime Limit: 6000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 32710 Accepted Submission(s): 9744Problem Description给你n个整数,请按从大到小的顺序输出其中前m
2015-04-26 20:05:43 368
原创 zzuoj 10399: F.Turing equation
10399: F.Turing equation时间限制: 1 Sec 内存限制: 128 MB提交: 108 解决: 55[提交][状态][讨论版]题目描述The fight goes on, whether to store numbers starting with their most significant digit or their least sig
2015-04-26 16:55:09 483
原创 zzuoj 10396: H.Rectangles 【DP】
10396: H.Rectangles时间限制: 2 Sec 内存限制: 128 MB提交: 144 解决: 10[提交][状态][讨论版]题目描述Given N (4 <= N <= 100) rectangles and the lengths of their sides ( integers in the range 1..1,000), write a pr
2015-04-26 16:43:38 610
原创 zzuoj 10401: A.物资调度
10401: A.物资调度Time Limit: 2 Sec Memory Limit: 128 MBSubmit: 19 Solved: 10[Submit][Status][Web Board]Description某地区发生了地震,灾区已经非常困难,灾民急需一些帐篷、衣物、食品和血浆等物资。可通往灾区的道路到处都是塌方,70%以上的路面损坏,桥梁全部被毁。国家
2015-04-26 16:16:27 977
原创 zzuoj 10400: B.海岛争霸
10400: B.海岛争霸 Time Limit: 2 Sec Memory Limit: 128 MBSubmit: 25 Solved: 12[Submit][Status][Web Board]Description神秘的海洋,惊险的探险之路,打捞海底宝藏,激烈的海战,海盗劫富等等。加勒比海盗,你知道吧?杰克船长驾驶着自己的的战船黑珍珠1号要征服各个海岛的
2015-04-26 16:06:46 629
原创 zoj 3878 Convert QWERTY to Dvorak
Convert QWERTY to DvorakTime Limit: 2 Seconds Memory Limit: 65536 KB Edward, a poor copy typist, is a user of the Dvorak Layout. But now he has only a QWERTY Keyboard with a brokenCap
2015-04-26 10:59:12 718
原创 zoj 3876 May Day Holiday
May Day HolidayTime Limit: 2 Seconds Memory Limit: 65536 KB As a university advocating self-learning and work-rest balance, Marjar University has so many days of rest, including holiday
2015-04-26 09:42:05 429
原创 zoj 3875 Lunch Time
Lunch TimeTime Limit: 2 Seconds Memory Limit: 65536 KB The 999th Zhejiang Provincial Collegiate Programming Contest will be held in Marjar University. The canteen of Marjar University i
2015-04-25 22:49:18 659
原创 zoj 3880 Demacia of the Ancients
Demacia of the AncientsTime Limit: 2 Seconds Memory Limit: 65536 KB There is a popular multiplayer online battle arena game called Demacia of the Ancients. There are lots of professiona
2015-04-25 22:20:49 530
原创 zoj 3869 Ace of Aces
Ace of AcesTime Limit: 2 Seconds Memory Limit: 65536 KB There is a mysterious organization called Time-Space Administrative Bureau (TSAB) in the deep universe that we humans have not di
2015-04-25 22:06:02 544
原创 hdoj 1847 Good Luck in CET-4 Everybody!
Good Luck in CET-4 Everybody!Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6312 Accepted Submission(s): 4051Problem Description
2015-04-25 21:27:01 508
原创 hdoj 2124 Repair the Wall
Repair the WallTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2477 Accepted Submission(s): 1207Problem DescriptionLong time ag
2015-04-25 18:02:25 402
原创 hdoj 4148 Length of S(n) 【打表】
Length of S(n)Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 1140 Accepted Submission(s): 661Problem DescriptionA number seque
2015-04-25 17:55:06 518
原创 hdoj 1861 游船出租
游船出租Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7730 Accepted Submission(s): 2564Problem Description现有公园游船租赁处请你编写一个租船管理系统。当
2015-04-24 22:41:11 599
原创 hdoj 1418 抱歉
抱歉Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3947 Accepted Submission(s): 1678Problem Description非常抱歉,本来兴冲冲地搞一场练习赛,由于我准备不足
2015-04-24 22:29:00 521
原创 hdoj 1422 重温世界杯 【DP】
重温世界杯Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5099 Accepted Submission(s): 1748Problem Description世界杯结束了,意大利人连本带利的收回了法国人
2015-04-24 22:13:39 419
原创 hdoj 1420 Prepared for New Acmer
Prepared for New AcmerTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7358 Accepted Submission(s): 2776Problem Description集训进行了
2015-04-24 20:05:38 435
原创 nyoj 16 矩形嵌套 【经典DP】
矩形嵌套时间限制:3000 ms | 内存限制:65535 KB难度:4描述 有n个矩形,每个矩形可以用a,b来描述,表示长和宽。矩形X(a,b)可以嵌套在矩形Y(c,d)中当且仅当a<c,b<d或者b<c,a<d(相当于旋转X90度)。例如(1,5)可以嵌套在(6,2)内,但不能嵌套在(3,4)中。你的任务是选出尽可能多的矩形排成一行,使得除最后一个外,每一个矩形都可以嵌
2015-04-24 19:53:20 430
原创 hdoj 2601 An easy problem
An easy problemTime Limit: 6000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7591 Accepted Submission(s): 1802Problem DescriptionWhen Teddy w
2015-04-23 21:54:33 459
原创 hdoj 1159 Common Subsequence 【最大连续子序列】
Common SubsequenceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 26373 Accepted Submission(s): 11713Problem DescriptionA subse
2015-04-23 20:12:26 595
原创 poj 2239 Selecting Courses 【二分图最大匹配】
Selecting CoursesTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 8998 Accepted: 4005DescriptionIt is well known that it is not eas
2015-04-23 18:46:30 605
原创 hdoj 1800 Flying to the Mars 【动态规划】
Flying to the MarsTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 12608 Accepted Submission(s): 4004Problem DescriptionIn
2015-04-23 18:42:42 480
原创 hdoj 1171 Big Event in HDU 【母函数】【01背包】
Big Event in HDUTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 26883 Accepted Submission(s): 9471Problem DescriptionNowadays,
2015-04-22 22:17:57 887
原创 hdoj 1865 1sting
1stingTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3981 Accepted Submission(s): 1484Problem DescriptionYou will be given a s
2015-04-21 22:24:44 468
原创 hdoj 1465 不容易系列之一
不容易系列之一Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 16375 Accepted Submission(s): 6793Problem Description大家常常感慨,要做好一件事情真的不容易
2015-04-21 22:21:06 466
原创 zzulioj 1726: 迷宫
1726: 迷宫Description在很多 RPG (Role-playing Games)游戏中,迷宫往往是非常复杂的游戏环节。通常来说,我们在走迷宫的时候都需要花非常多的时间来尝试不同的路径。但如果有了算法和计算机的帮助,我们能不能有更快的方式来解决这个问题?我们可以进行一些尝试。现在我们有一个 N 行 M列的迷宫。迷宫的每个格子如果是空地则可以站人,如果是障碍则
2015-04-21 20:25:28 794
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人