第三次ACM

Directory: Game Program
Plat: C/C++
Size: 16KB
Downloads: 0
Upload time: 2020-07-10 21:29:59
Uploader: echo114514
Description:   Enter a description The first row of input data is three integers separated by spaces, which represent the grid row number n, column number m and column C where the robot is located at the initial time (starting from the left most side of the grid, counting with 1 as the benchmark). The number of rows and columns per grid does not exceed 20. Next are n-line instructions, which contain only N, s, e and W. there is no space between all instructions. Output description If the robot can walk out of the grid, the output is "out" plus the number of steps required to walk out of the grid; if the robot enters the loop and cannot walk out of the grid, it outputs "loop" and the steps taken before entering the loop.

File list:
第三次ACM.cpp, 2905 , 2020-01-05
78.docx, 19490 , 2019-12-30

Download users:

Relate files:

Comment: Add Comment

Favorite users: