Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

每一组输出都跟一个空行!!!!!(另附自测数据)

Posted by Bartholomew at 2018-02-05 19:45:53 on Problem 1475 and last updated at 2018-02-05 19:46:36
如题
/begin
Maze #1
EEEEEEEEE

Maze #2
WWWWWWWWW

Maze #3
NNNNNNNNN

/end
测试数据:
/begin
8 8
##.....T
....###.
....#...
#....#..
#....#..
###.####
S..B..##
###...##
10 12
############
#.......####
#.####..####
#.####..#T##
#.####..#.##
#.....B.....
#######.#.#.
######S.#...
############
############
5 10
##########
#T...#...#
#...SB...#
#....#...#
##########
20 20
S...................
.##################.
..................#.
.#.#..............#.
.#.###########.#..#.
.#.#...........#..#.
.#.#..########.#..#.
.#.#.........#.#..#.
.#.########..#.#..#.
.#.#.....B...#.#....
.#.#.######..#.#..#.
.#.#.........#.#..#.
.#.#..########.#..#.
.#.#............#.#.
.#.#............#.#.
.#.#.############.#.
..................#.
.#................#.
.##################.
...................T
10 5
...##
.#.##
.#.##
.#.##
.#.##
.#.##
.#...
SB...
##...
##T..
5 8
########
...#....
...#....
T.SB....
########
4 5
...T#
.#.B.
.#.#.
..S..
6 7
ST.....
....#..
.......
....B..
...#.#.
...#...
11 19
....#####..........
....#...#..........
....#...#..........
..###..B##.........
..#......#.........
###.#.##.#...######
#...#.##.#####T...#
#.................#
####..###.#S##....#
...#......#########
...########........
0 0
/end
输出:
/begin
Maze #1
eeEseenWswNNNNNNwnEEEE

Maze #2
ennnnnnwwwwwwsssseeeeEEEEsseennWesswwnNN

Maze #3
EEneesWWWWWWswN

Maze #4
sssssssssssssssseeeennnnnnneeeeEEwwwwwwsseeeeeeenennwSSesWWWWWWWeeeeeennwwwwwwwsSSSSSnneeeeeeeeeennnnnnnnnnnwwwwwwwwwwwwsssssssssssssseEEEEEEEEEEEEEseNNNNNNNwnEEwnnnnnnnwwwwwwwwwwwwwwwwwnneeeeeeeeeeeeeeeeeeessssssssSSSSSSSSSS

Maze #5
EwnnnnnnneessssssSS

Maze #6
EEneesWWWWW

Maze #7
eennWesswwnNsswwnnneE

Maze #8
sseeeeesWWWswNNN

Maze #9
nwwwnnnwwnneSwswssseeennnWWnwSSSnnwwssseEEEEEEEEEEseNenW

/end

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator