文件名称:Robot
介绍说明--下载内容来自于网络,使用问题请自行百度
题目:火星漫游者
问题描述:
若干个火星漫游者(机器人)被NASA(美国国家航空和宇宙航行局)送到火星,对火星的一个高原进行科学探测,这个高原是一个矩形,火星漫游者将漫游整个高原,并通过照相机对高原拍照,将照片发回地球,以了解这个高原的全貌。
任意一个漫游者的位置将由x,y坐标和一个代表方向的字母确定(N-北,S-南,E-东,W-西),为了简化漫游,将高原划分为网格。例如(0,0,N)表示火星漫游者位于高原的左下角,方向朝北。
NASA通过发送命令字符串控制火星漫游者,命令字符串是字符’L’,’R’,’M’的组合,’L’,’R’表示使漫游者向左或右旋转90°,但坐标不变;’M’表示使漫游者沿当前方向移动一个网格点,并保持方向不变。
假设高原的正北方向是从点(x,y)到点(x,y+1)的方向-Title: Mars rover
Problem descr iption:
Several Mars rover (robot) is NASA (National Aeronautics and Space Administration) sent to the Mars, the Mars scientific exploration of a plateau, this plateau is a rectangle, Mars rover will roam the entire plateau, and through the camera pictures on the plateau, the photos back to Earth, to understand the complete picture of the plateau.
Any of the rover position will be x, y coordinates and a representative of the letters to determine the direction (N-North, S-South, E-East, W-West), in order to simplify the roaming, the plateau is divided into grids. For example (0,0, N) that Mars rover in the lower left corner of the plateau, the direction of north.
NASA Mars by sending a command string to control the rover, the command string is the character L , R , M combination, L , R said the Wanderer left or right to rotate 90 °, but coordinates unchanged M , said the current move to rover along a grid point, and maintain the same direction
问题描述:
若干个火星漫游者(机器人)被NASA(美国国家航空和宇宙航行局)送到火星,对火星的一个高原进行科学探测,这个高原是一个矩形,火星漫游者将漫游整个高原,并通过照相机对高原拍照,将照片发回地球,以了解这个高原的全貌。
任意一个漫游者的位置将由x,y坐标和一个代表方向的字母确定(N-北,S-南,E-东,W-西),为了简化漫游,将高原划分为网格。例如(0,0,N)表示火星漫游者位于高原的左下角,方向朝北。
NASA通过发送命令字符串控制火星漫游者,命令字符串是字符’L’,’R’,’M’的组合,’L’,’R’表示使漫游者向左或右旋转90°,但坐标不变;’M’表示使漫游者沿当前方向移动一个网格点,并保持方向不变。
假设高原的正北方向是从点(x,y)到点(x,y+1)的方向-Title: Mars rover
Problem descr iption:
Several Mars rover (robot) is NASA (National Aeronautics and Space Administration) sent to the Mars, the Mars scientific exploration of a plateau, this plateau is a rectangle, Mars rover will roam the entire plateau, and through the camera pictures on the plateau, the photos back to Earth, to understand the complete picture of the plateau.
Any of the rover position will be x, y coordinates and a representative of the letters to determine the direction (N-North, S-South, E-East, W-West), in order to simplify the roaming, the plateau is divided into grids. For example (0,0, N) that Mars rover in the lower left corner of the plateau, the direction of north.
NASA Mars by sending a command string to control the rover, the command string is the character L , R , M combination, L , R said the Wanderer left or right to rotate 90 °, but coordinates unchanged M , said the current move to rover along a grid point, and maintain the same direction
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Robot/.classpath
Robot/.project
Robot/.settings/org.eclipse.jdt.core.prefs
Robot/bin/map/Direction.class
Robot/bin/map/main.class
Robot/bin/map/Map.class
Robot/bin/map/Point.class
Robot/bin/map/Robot.class
Robot/src/map/Direction.java
Robot/src/map/main.java
Robot/src/map/Map.java
Robot/src/map/Point.java
Robot/src/map/Robot.java
Robot/bin/map
Robot/src/map
Robot/.settings
Robot/bin
Robot/src
Robot
Robot/.project
Robot/.settings/org.eclipse.jdt.core.prefs
Robot/bin/map/Direction.class
Robot/bin/map/main.class
Robot/bin/map/Map.class
Robot/bin/map/Point.class
Robot/bin/map/Robot.class
Robot/src/map/Direction.java
Robot/src/map/main.java
Robot/src/map/Map.java
Robot/src/map/Point.java
Robot/src/map/Robot.java
Robot/bin/map
Robot/src/map
Robot/.settings
Robot/bin
Robot/src
Robot
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.