
模拟
SCUT_Pein
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
POJ1573--模拟--Robot Motion
Description A robot has been programmed to follow the instructions in its path. Instructions for the next direction the robot is to move are laid down in a grid. The possible instructions are原创 2013-02-15 00:49:04 · 509 阅读 · 0 评论 -
POJ2632--Crashing Robots--模拟
Description In a modernized warehouse, robots are used to fetch the goods. Careful planning is needed to ensure that the robots reach their destinations without crashing into each other. Of course, a原创 2013-02-17 22:56:03 · 586 阅读 · 0 评论 -
POJ3009--Curling 2.0
/* 开始的时候,冰壶在起点 冰壶只能够沿着x y方向移动 冰壶需要至少一格子的惯性才能撞破石头 冰壶撞到石头的时候,石头消失,冰壶停在石头之前的位置,石头消失 冰壶出界,或者超过10步还不能到达,失败 冰壶到达终点,成功 0代表空地 1代表石头 2代表起点 3代表终点 */ #include #include using namespace std; #defi原创 2013-03-03 20:38:25 · 567 阅读 · 0 评论 -
HDU2209--翻纸牌游戏
Description 有一种纸牌游戏,很有意思,给你N张纸牌,一字排开,纸牌有正反两面,开始的纸牌可能是一种乱的状态(有些朝正,有些朝反),现在你需要整理这些纸牌。但是麻烦的是,每当你翻一张纸牌(由正翻到反,或者有反翻到正)时,他左右两张纸牌(最左边和最右边的纸牌,只会影响附近一张)也必须跟着翻动,现在给你一个乱的状态,问你能否把他们整理好,使得每张纸牌都正面朝上,如果可以,最少需要多原创 2013-03-11 20:46:42 · 1391 阅读 · 2 评论 -
Next Mayor--SOJ 2013week2.1000
Time Limit: 1sec Memory Limit:256MB Description One of the oddest traditions of the town of Gameston may be that even the town mayor of the next term is chosen according to the result of a ga原创 2013-03-17 16:13:46 · 986 阅读 · 0 评论