摘要: 题目: 有一个长方形的房间,覆盖了正方形的磁砖。每块磁砖的颜色,要么是红色,要么是黑色。一名男子站在一块黑色的磁砖上。他可以从一块磁砖移至相邻四块磁砖中的某一块。但是,他不允许在红色磁砖上移动,他只允许在黑色磁砖上移动。 编写一个程序,使得他允许重复上述的移动,判断他所能到达的黑色磁砖的数量。 输入 阅读全文
posted @ 2017-07-24 19:57 你的女孩居居 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 题目: 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 gr 阅读全文
posted @ 2017-07-24 17:07 你的女孩居居 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 题目链接:https://vjudge.net/problem/CodeForces-546B AC代码: 阅读全文
posted @ 2017-07-24 17:06 你的女孩居居 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 题目: Pass a year learning in Hangzhou, yifenfei arrival hometown Ningbo at finally. Leave Ningbo one year, yifenfei have many people to meet. Especiall 阅读全文
posted @ 2017-07-24 15:38 你的女孩居居 阅读(297) 评论(0) 推荐(0) 编辑