
bfs dfs
hn_Lin
码
码
码
展开
-
hdu Rescue
RescueTime Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Problem DescriptionAngel was caught by the MOLIGPY! He was put in prison by Moligpy. The prison is descri...原创 2018-07-29 09:34:13 · 330 阅读 · 0 评论 -
hdu Prime Ring Problem
Prime Ring ProblemProblem DescriptionA ring is compose of n circles as shown in diagram. Put natural number 1, 2, ..., n into each circle separately, and the sum of numbers in two adjacent circles...原创 2018-07-29 09:41:07 · 219 阅读 · 0 评论 -
hdu Zipper
ZipperTime Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Problem DescriptionGiven three strings, you are to determine whether the third string can be formed by combi...原创 2018-07-29 09:52:40 · 426 阅读 · 0 评论 -
hdu 逃离迷宫
逃离迷宫Time Limit : 1000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other)Problem Description 给定一个m × n (m行, n列)的迷宫,迷宫中有两个位置,gloria想从迷宫的一个位置走到另外一个位置,当然迷宫中有些地方是空地,gloria可以穿越,有些地方是障碍,她必...原创 2018-07-29 10:43:47 · 271 阅读 · 0 评论 -
hdu Additive equations
Additive equationsTime Limit : 20000/10000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Problem Description We all understand that an integer set is a collection of distinct integ...原创 2018-07-29 10:49:04 · 161 阅读 · 0 评论 -
hdu Lake Counting
Lake CountingTime Limit : 2000/1000ms (Java/Other) Memory Limit : 131072/65536K (Java/Other)Problem DescriptionDue to recent rains, water has pooled in various places in Farmer John's field, w...原创 2018-07-29 11:01:14 · 166 阅读 · 0 评论 -
emmm 记录一个自己犯傻的题目
链接:https://ac.nowcoder.com/acm/contest/303/D来源:牛客网题目描述星际争霸(StarCraft)单人战役模式中有很多供人游玩的任务关卡。 tokitsukaze新开始了一关单人战役模式下的任务。在这场战役中,你要作为指挥官指挥克鲁普星区的艾伦人类(Terran)来防御人类的敌人——邪恶异虫(Zerg)的袭击。 这一次,作为指挥官,...原创 2018-12-09 17:54:53 · 205 阅读 · 0 评论 -
hdu_1175 连连看
连连看 Problem Description “连连看”相信很多人都玩过。没玩过也没关系,下面我给大家介绍一下游戏规则:在一个棋盘中,放了很多的棋子。如果某两个相同的棋子,可以通过一条线连起来(这条线不能经过其它棋子),而且线的转折次数不超过两次,那么这两个棋子就可以在棋盘上消去。不好意思,由于我以前没有玩过连连看,咨询了同学的意见,连线不能从外面绕过去的,但...原创 2019-07-24 08:57:38 · 128 阅读 · 0 评论