
搜索
文章平均质量分 72
Byte__
ACM成长中。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
POJ 1856 Sea Battle
不错的一道搜索题原创 2014-08-13 09:12:20 · 965 阅读 · 0 评论 -
POJ 1979 Red and Black
Red and Black Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 25014 Accepted: 13502 Description There is a rectangular room, covered with square tiles. E原创 2015-05-17 09:54:46 · 679 阅读 · 0 评论 -
POJ 3669 Meteor Shower
Meteor Shower Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 10760 Accepted: 2965 Description Bessie hears that an extraordinary meteor shower is coming原创 2015-05-17 12:25:59 · 961 阅读 · 0 评论 -
POJ 3984 逃离迷宫
迷宫问题 Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 10001 Accepted: 5939 Description 定义一个二维数组: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, 0,原创 2015-05-27 20:42:59 · 1003 阅读 · 0 评论 -
C. Swaps CodeForces 134C
C. Swaps time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output There are n players sitting at a round table. All原创 2015-05-18 22:17:08 · 190 阅读 · 0 评论 -
poj 1011 sticks 经典剪枝问题
Sticks Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 127727 Accepted: 29912 Description George took sticks of the same length and cut them randomly unt原创 2015-07-06 13:14:47 · 819 阅读 · 0 评论 -
hdu 2266 How Many Equations Can You Find
How Many Equations Can You Find Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 644 Accepted Submission(s): 424 Problem Description原创 2015-07-06 13:42:49 · 1239 阅读 · 0 评论 -
HDu 1198 Farm Irrigation
Farm Irrigation Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 7427 Accepted Submission(s): 3185 Problem Description Benny has原创 2015-08-25 22:15:06 · 627 阅读 · 0 评论 -
hdu 1226 超级密码
超级密码 Time Limit: 20000/10000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 3110 Accepted Submission(s): 1006 Problem Description Ignatius花了一个星期的时间终于找到了传原创 2015-08-01 21:41:04 · 735 阅读 · 0 评论 -
hdu 2102 A计划 BFS
A计划 Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 12988 Accepted Submission(s): 3180 Problem Description 可怜的公主在一次次被魔王掳走一次次被骑士们救回来之原创 2015-08-03 16:59:02 · 609 阅读 · 0 评论 -
hdu 1664 Different Digits
Different Digits Time Limit: 10000/4000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1138 Accepted Submission(s): 296 Problem Description Given a posit原创 2015-08-04 09:12:07 · 177 阅读 · 0 评论 -
UVA 10603 Fill倒水问题
There are three jugs with a volume of a, b and c liters. (a, b, and c are positive integers not greater than 200). The first and the second jug are initially empty, while the third is completely filled原创 2015-08-06 09:16:23 · 788 阅读 · 0 评论 -
HDU 2931 Digit Puzzle 搜索 DFS
#include #include int num[3],tot,n,f; char s[3][100],ans[3][100]; int check() { char str[100]; int a=0,b=0,c; for(int i=0;i<num[0];i++) a=a*10+s[0][i]-'0'; for(int i=0;i<num[1];i++) b=b*10+s原创 2015-08-07 13:44:47 · 648 阅读 · 0 评论 -
hdu 4474 Yet Another Multiple Problem
Yet Another Multiple Problem Time Limit: 40000/20000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 4962 Accepted Submission(s): 1087 Problem Descriptio原创 2015-11-02 22:06:08 · 624 阅读 · 0 评论 -
HDU3779Railroad DP 记忆化搜索
Railroad Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 938 Accepted Submission(s): 386 Problem Description A train yard is a c原创 2016-05-26 16:46:14 · 528 阅读 · 0 评论 -
结点选择 搜索,dp思想
1003: 结点选择 Time Limit: 1 Sec Memory Limit: 128 MB 64bit IO Format: %lld Submitted: 25 Accepted: 8 [Submit][Status][Web Board] Description 有一棵 n 个节点的树,树上每个节点都有一个正整数权值。如果一个点被选择了,那么在树上和它相原创 2017-04-07 11:15:17 · 431 阅读 · 0 评论 -
HDU 1728 逃离迷宫 单方向BFS 或者DFS加剪枝
逃离迷宫 Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 18519 Accepted Submission(s): 4463 Problem Description 给定一个m × n (m行, n列)的迷宫,原创 2015-05-26 21:07:48 · 713 阅读 · 0 评论 -
POJ 3009 Curling 2.0
Curling 2.0 Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 13489 Accepted: 5651 Description On Planet MM-21, after their Olympic games this year, curlin原创 2015-05-17 10:07:59 · 638 阅读 · 0 评论 -
POJ 2738 Two Ends 记忆化搜索
记忆化搜索,有不明白的一个小地方,求指教。。。原创 2014-08-13 14:32:13 · 955 阅读 · 0 评论 -
HDU 5024 Wang Xifeng's Little Plot
Wang Xifeng's Little Plot Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 446 Accepted Submission(s): 299 Problem Description 《D原创 2014-10-24 23:58:03 · 796 阅读 · 0 评论 -
HDU 4272 LianLianKan DFS+map优化
LianLianKan Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2694 Accepted Submission(s): 830 Problem Description I like playing原创 2014-10-28 20:09:20 · 841 阅读 · 0 评论 -
codeforce 329B Biridian Forest
F - Biridian Forest Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status Description You're a mikemon breeder currently in the middle of your journ原创 2014-11-06 00:10:54 · 1230 阅读 · 0 评论 -
HDU 1010 Tempter of the Bone
Tempter of the Bone Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 75060 Accepted Submission(s): 20517 Problem Description The原创 2014-12-15 00:54:19 · 743 阅读 · 0 评论 -
uva 140 宽带
Bandwidth Given a graph (V,E) where V is a set of nodes and E is a set of arcs in VxV, and an ordering on the elements in V, then the bandwidth of a node v is defined as the maximum di原创 2015-02-07 21:11:18 · 663 阅读 · 0 评论 -
HDU1016 Prime Ring Problem
一直以为写过素数环的问题,不过今天补上,应该也不算太晚吧。 从当初的完全弄不懂DFS递归,到现在总算有了一定的概念,但也不敢说什么很溜。 前几天跑去看第一次学写素数环的时候看的博客,博主写了很多注释,几乎每句都有的那种,很详细,突然觉得自己当时好傻,很多简单的道理都不懂。 不过就算时间再倒回去,自己应该还是会坚持自己的做法吧。 感觉对那种 Print a blank line af原创 2015-02-07 22:08:53 · 655 阅读 · 0 评论 -
POJ 1465 Multiple
Multiple Time Limit: 1000MS Memory Limit: 32768K Total Submissions: 6410 Accepted: 1386 Description a program that, given a natural number N between 0 and 4999 (inc原创 2015-02-12 22:10:11 · 700 阅读 · 0 评论 -
Codeforces Round #191 (Div. 2) D. Block Tower
D. Block Tower time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output After too much playing on paper, Iahub has s原创 2015-03-15 11:20:11 · 154 阅读 · 0 评论 -
POJ 1321棋盘问题
题意就是在#上放棋子,每行每列zhi原创 2014-07-27 15:55:45 · 780 阅读 · 0 评论 -
POJ 2251 Dungeon Master
Description You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. It takes one minute to move one原创 2015-04-23 21:47:29 · 559 阅读 · 0 评论 -
POJ 3278 catch that cow
Catch That Cow Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 54696 Accepted: 17101 Description Farmer John has been informed of the location of a fugit原创 2015-05-15 20:07:12 · 671 阅读 · 0 评论 -
HDU 1548 A strange lift
A strange lift Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 14488 Accepted Submission(s): 5497 Problem Description There is a str原创 2015-05-15 20:08:46 · 684 阅读 · 0 评论 -
HDU 1253 胜利大逃亡 BFS
胜利大逃亡 Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 28623 Accepted Submission(s): 10835 Problem Description Ignatius被魔王抓走了,有一天魔王出差原创 2015-05-15 21:35:52 · 646 阅读 · 0 评论 -
POJ 1426 Find The Multiple
Find The Multiple Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 20297 Accepted: 8236 Special Judge Description Given a positive integer n, write a原创 2015-05-16 22:40:38 · 530 阅读 · 0 评论 -
数的划分 搜索 ,DP
1006: 数的划分 Time Limit: 1 Sec Memory Limit: 128 MB 64bit IO Format: %lld Submitted: 44 Accepted: 22 [Submit][Status][Web Board] Description 将整数n分成k份,且每份不能为空,任意两份不能相同(不考虑顺序)。 例如:n=7,k原创 2017-04-06 15:45:17 · 739 阅读 · 0 评论