摘要: 就是走迷宫 。。 在三维空间上。。题目:Dungeon MasterYou are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. It takes one minute to move one unit north, south, east, west, up or down. You cannot move diagonally and the maze 阅读全文
posted @ 2013-12-13 23:32 doubleshik 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 题目大意就是读出图上筛子的点数。 一开始搞错了以为是读出每个筛子上一共有多少个联通点。 结果题目要求的是一块联通的算一个点。问一个筛子上有多少个联通的。。。(样例正好可以过) 还有就是注意一下输出格式题目:The die is castInterGames is a high-tech startup company that specializes in developing technology that allows users to play games over the Internet. A market analysis has alerted them to the fact 阅读全文
posted @ 2013-12-13 22:28 doubleshik 阅读(281) 评论(0) 推荐(0) 编辑
摘要: 根据样例可以明显看出题意。。比较坑的一点注意节点可以是任意字符,不一定是字母,还要判断是否有换行符。 另外空节点要独立判断题目:Problem DUndraw the Trees Input:StandardInputOutput: Standard Output Time Limit: 2 SecondsProfessor Homer has been reported missing. We suspect thathis recent research works might have had something to with this. But we reallydon't 阅读全文
posted @ 2013-12-13 20:08 doubleshik 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 题目大概意思就是计算一个表达式的值(不知道这道题和书什么关系。。顺序扫一遍就好了)题目:Evaluating Simple C ExpressionsThe task in this problem is to evaluate a sequence of simple C expressions, buy you need not know C to solve the problem! Each of the expressions will appear on a line by itself and will contain no more than 110 characters. T 阅读全文
posted @ 2013-12-13 00:01 doubleshik 阅读(195) 评论(0) 推荐(0) 编辑