![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
搜索
lonely_wind_
路漫漫兮
展开
-
CSUSTOJ-伊井野弥子是风纪委员(简单BFS)
题目连接:博客园食用链接:Description父亲是最高法院的法官,母亲是国际人道救援组织职员。在父母的熏陶下,有强烈的正义感,弥子初中起便担任着学校的风纪委员。高二的时候,弥子加入了学生会,由于学生会每天都有大量的工作要做,弥子放学后必须马上去学生会处理文件,但是她没有忘记自己风纪委员的工作,再去往学生会的路上,她会先去视察多个违纪现象高发地点中的两个,然后再前往学生会,由于时间紧迫,她必须有选择两个地点使她视察完后再去往学生会所花费的时间最小。我们把整个秀知院看成一个 w∗ww * ww∗w原创 2020-11-07 18:17:11 · 301 阅读 · 0 评论 -
2020杭电HDU-6768多校第二场Lead of Wisdom(暴力DFS)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=6772博客园食用:CSDN食用:Problem DescriptionIn an online game, “Lead of Wisdom” is a place where the lucky player can randomly get powerful items.There are k types of items, a player can wear at most one item fo原创 2020-07-24 20:52:15 · 422 阅读 · 0 评论 -
2019计蒜之道复赛-B-个性化评测系统(打麻将--暴搜)
时限:1000ms 空间限制:262144K题目链接https://nanti.jisuanke.com/t/39612“因材施教”的教育方式自古有之,互联网时代,要实现真正意义上的个性化教育,离不开大数据技术的扶持。VIPKID 英语 20多万学员每月在课前预习、课中教学、课后复习、作业、答题测评等环节会产生超过100TB 的数据增量,在对庞大数据进行分析之...原创 2019-09-28 22:40:58 · 319 阅读 · 1 评论 -
有趣的题目:简单深搜之数独与靶型数独--二进制状压加速与dfs数独剪枝
SudokuTime Limit:2000MS Memory Limit:65536K 题目链接http://poj.org/problem?id=2676DescriptionSudoku is a very simple task. A square table w...原创 2019-08-25 20:27:24 · 557 阅读 · 0 评论 -
Chinese Mahjong--Uva11210中国麻将--暴搜
题目链接https://vjudge.net/contest/305270#problem/I题目大意:在麻将游戏中,有 34 种牌,分别是 1-9 的万,1-9 的筒,1-9 的条,以及 7 种字牌 “东”,“南”,“西”,“北”,“白”,“发”,“中”。这 34 种牌各四张,共 136 张。如果你手牌中凑够了 14张牌,满足一定的牌型条件,就称作“和牌”。这个牌型有很多种,但在...原创 2019-06-17 12:28:00 · 584 阅读 · 0 评论 -
E.Barareh on Fire(暴力bfs)
Barareh on FireThe Barareh village is on fire due to the attack of the virtual enemy. Several places are already on fire and the fire is spreading fast to other places. Khorzookhan who is the only pe...原创 2019-03-13 12:39:58 · 307 阅读 · 0 评论 -
HDU-1010Tempter of the Bone(dfs+奇偶剪枝)
Tempter of the Bone题目链接Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 157407 Accepted Submission(s): 41882Problem DescriptionThe doggie...原创 2019-03-07 11:54:28 · 450 阅读 · 0 评论 -
POJ-2676 Sudoku(简单数独-dfs深搜)
SudokuTime Limit: 2000MS Memory Limit: 65536K题目链接DescriptionSudoku is a very simple task. A square table with 9 rows and 9 columns is divided to 9 smaller squares 3x3 as shown on the Figure. In s...原创 2019-03-07 11:09:59 · 630 阅读 · 0 评论 -
HDU-2553N皇后问题(dfs深搜)
N皇后问题Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 38939 Accepted Submission(s): 16549Problem Description在N*N的方格棋盘放置了N个皇后,使得它们不相互攻击(即任意...原创 2019-03-07 10:49:57 · 456 阅读 · 0 评论 -
HDU-1016Prime Ring Problem(素数环问题-dfs深搜)
Prime Ring ProblemTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Problem DescriptionA ring is compose of n circles as shown in diagram. Put natural number 1, 2, ...原创 2019-03-07 10:37:03 · 412 阅读 · 0 评论 -
POJ-1321棋盘问题(dfs深搜)
棋盘问题题目链接Time Limit: 1000MS Memory Limit: 10000KDescription在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放方案C。Input输入含有多组测试数据。每组数据的第一行是两个正整数,n k...原创 2019-03-07 10:21:11 · 332 阅读 · 0 评论 -
POJ-3414 Pots(倒水问题-bfs手写队列)
PotsTime Limit: 1000MS Memory Limit: 65536K题目链接http://poj.org/problem?id=3414DescriptionYou are given two pots, having the volume of A and B liters respectively. The following operations can be p...原创 2019-03-09 09:59:54 · 356 阅读 · 0 评论 -
POJ-1190 生日蛋糕(dfs+剪枝)
生日蛋糕题目链接http://poj.org/problem?id=1190Time Limit: 1000MS Memory Limit: 10000KDescription7月17日是Mr.W的生日,ACM-THU为此要制作一个体积为Nπ的M层生日蛋糕,每层都是一个圆柱体。设从下往上数第i(1 <= i <= M)层蛋糕是半径为Ri, 高度为Hi的圆柱。当i < ...原创 2019-03-08 21:55:57 · 867 阅读 · 0 评论 -
POJ-2251 Dungeon Master(三维搜索bfs)
Dungeon MasterTime Limit: 1000MS Memory Limit: 65536K题目链接http://poj.org/problem?id=2251DescriptionYou are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of...原创 2019-03-08 19:53:21 · 329 阅读 · 0 评论