BFS
文章平均质量分 54
牛郎恋刘娘,刘娘念牛郎
裂开来
展开
-
Luggage Lock(ICPC沈阳站BFS)
Eileen has a big luggage and she would pick a lot of things in the luggage every time when A-SOUL goes out for a show. However, if there are too many things in the luggage, the 4-digit password lock on the luggage will be hard to rotate. 链接:https://ac.no原创 2022-04-03 14:41:12 · 685 阅读 · 0 评论 -
D. 1.绿纹龙的森林游记 [ Problem 4398 ] [ Discussion ]
D. 1.绿纹龙的森林游记 [ Problem 4398 ] [ Discussion ] Description 暑假来了,绿纹龙很高兴。于是飘飘乎就来到了森林一日游。可是他却看到了很不和谐的一幕,一群猎人在森林里围捕小动物。森林可以看做是一个10*10的方格,如下图所示,1表示猎人,0表示小动物。 已知猎人保持不动,而小动物可以往上下左右任意方向逃脱(当然不能撞上猎人)。小动物可以逃出森林。但上图背景色被标红的那部分小动物将永远无法逃脱猎人的魔爪。 Input 一个10*10的矩阵,描述森林中猎人和原创 2021-02-04 16:37:25 · 169 阅读 · 0 评论