QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#42005 | #1775. Deceptive Directions | MaMengQi | AC ✓ | 47ms | 24396kb | C++ | 1.8kb | 2022-08-01 15:17:06 | 2022-08-01 15:17:33 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 3ms
memory: 5640kb
input:
4 3 #### #S.# #### W
output:
#### #S!# ####
result:
ok 3 lines
Test #2:
score: 0
Accepted
time: 2ms
memory: 5764kb
input:
3 4 ### #.# #S# ### E
output:
### #!# #S# ###
result:
ok 4 lines
Test #3:
score: 0
Accepted
time: 2ms
memory: 5796kb
input:
10 9 ########## #.#...#S.# ##....##.# #..##....# #........# #....###.# ##..#..#.# #...##.#.# ########## SEWSNEESE
output:
########## #.#.!.#S.# ##.!..##.# #..##....# #..!.....# #...!###.# ##..#..#.# #...##.#.# ##########
result:
ok 9 lines
Test #4:
score: 0
Accepted
time: 1ms
memory: 5792kb
input:
5 8 ##### ###.# ##..# #...# #...# ##.S# #...# ##### WSES
output:
##### ###!# ##!.# #!..# #...# ##.S# #...# #####
result:
ok 8 lines
Test #5:
score: 0
Accepted
time: 2ms
memory: 5680kb
input:
9 7 ######### #.####..# #....##.# #.......# #.......# #...#..S# ######### SENEEENN
output:
######### #.####..# #.!..##.# #!......# #.......# #!..#..S# #########
result:
ok 7 lines
Test #6:
score: 0
Accepted
time: 2ms
memory: 5624kb
input:
10 8 ########## #.....#..# #..#.#...# #........# #.#......# ##......## #......S.# ########## SNWSNNSSWEE
output:
########## #!....#..# #..#.#...# #........# #.#......# ##......## #......S.# ##########
result:
ok 8 lines
Test #7:
score: 0
Accepted
time: 2ms
memory: 5820kb
input:
5 8 ##### #...# #..## #.### #...# ##..# #S..# ##### WNEE
output:
##### #...# #..## #.### #..!# ##..# #S..# #####
result:
ok 8 lines
Test #8:
score: 0
Accepted
time: 2ms
memory: 6136kb
input:
50 50 ################################################## #................................................# #................................................# #................................................# #................................................# #.........................................
output:
################################################## #................................................# #................................................# #................................................# #................................................# #...............................................
result:
ok 50 lines
Test #9:
score: 0
Accepted
time: 3ms
memory: 6040kb
input:
50 50 ################################################## #................................................# #................................................# #................................................# #................................................# #.........................................
output:
################################################## #........................!.......................# #.......................!.!......................# #......................!...!.....................# #.....................!.....!....................# #....................!.......!..................
result:
ok 50 lines
Test #10:
score: 0
Accepted
time: 3ms
memory: 6200kb
input:
50 50 ################################################## #................................................# #................................................# #................................................# #................................................# #.........................................
output:
################################################## #........................!.......................# #.......................!.!......................# #......................!...!.....................# #.....................!.....!....................# #....................!.......!..................
result:
ok 50 lines
Test #11:
score: 0
Accepted
time: 2ms
memory: 6144kb
input:
50 50 ################################################## #................................................# #................................................# #................................................# #................................................# #.........................................
output:
################################################## #................................................# #................................................# #................................................# #................................................# #...............................................
result:
ok 50 lines
Test #12:
score: 0
Accepted
time: 3ms
memory: 6344kb
input:
68 36 #################################################################### #..........#...#..#..........#.....................#.##..#.........# ###.....#.##..#..#..#.....#...#................#.##.....#.#........# #.........#......#.#..#......#........#.#.#...#.#...###....#..#....# #........#......#....
output:
#################################################################### #..........#...#..#..........#.....................#.##..#.........# ###.....#.##..#..#..#.....#...#................#.##.....#.#........# #.........#......#.#..#......#........#.#.#...#.#...###....#..#....# #........#......#.#...##...
result:
ok 36 lines
Test #13:
score: 0
Accepted
time: 1ms
memory: 5936kb
input:
93 69 ############################################################################################# ##.###...#..#.##.##..###..######....##..##......#..#..#......#..##..###....#.#........####### #.#..##.#...##..###.###.###..##.##.#...#......####.###..#.##............##..#.#.###..##.#.### #.#.#...##.....
output:
############################################################################################# ##.###...#..#.##.##..###..######....##..##......#..#..#......#..##..###....#.#........####### #.#..##.#...##..###.###.###..##.##.#...#......####.###..#.##............##..#.#.###..##.#.### #.#.#...##...#.......
result:
ok 69 lines
Test #14:
score: 0
Accepted
time: 3ms
memory: 6020kb
input:
44 76 ############################################ ##.....##..###..##......#.#......#.....#.#.# ###.#.....#...#....#.....##.#.#.#....#....## ###....#..#..##..#......#.##.......#...#..## #...#.###..#...##.#....#...#..#....##....### #.##.####.....#.###.##..##...#.....###.##### #...#........#....#.##.....
output:
############################################ ##.....##..###..##......#.#......#.....#.#.# ###.#.....#...#....#.....##.#.#.#....#....## ###....#..#..##..#......#.##.......#...#..## #...#.###..#...##.#....#...#..#....##....### #.##.####.....#.###.##..##...#.....###.##### #...#........#....#.##...#.##....
result:
ok 76 lines
Test #15:
score: 0
Accepted
time: 0ms
memory: 6108kb
input:
46 65 ############################################## #.#.....#.....#.#.#.....#.#.......###........# ##.....#.#...........#.#..#....#......#.#....# ###.#.#.....#...###.###.............#.#......# #.#.#.##.....#.#.....#.#.#.##......#...##.#..# #...##..#..........#...#.......##..#...#....## #.####..#......
output:
############################################## #.#.....#.....#.#.#.....#.#.......###........# ##.....#.#...........#.#..#....#......#.#....# ###.#.#.....#...###.###.............#.#......# #.#.#.##.....#.#.....#.#.#.##......#...##.#..# #...##..#..........#...#.......##..#...#....## #.####..#....##......
result:
ok 65 lines
Test #16:
score: 0
Accepted
time: 0ms
memory: 6384kb
input:
85 45 ##################################################################################### ###.#.............#....#....#........#.......#..#..........#........................# #...#....#.............#..........#......#......##.............#..#...........#.....# #.....#.........#......................
output:
##################################################################################### ###.#.............#....#....#........#.......#..#..........#........................# #...#....#.............#..........#......#......##.............#..#...........#.....# #.....#.........#......................#.....
result:
ok 45 lines
Test #17:
score: 0
Accepted
time: 3ms
memory: 6304kb
input:
75 75 ########################################################################### #.........................................................................# #.######################################################################### #.#..................................................................
output:
########################################################################### #........................................................................!# #.######################################################################### #.#........................................................................
result:
ok 75 lines
Test #18:
score: 0
Accepted
time: 0ms
memory: 6396kb
input:
75 75 ########################################################################### #.........................................................................# #.######################################################################### #.#..................................................................
output:
########################################################################### #........................................................................!# #.######################################################################### #.#........................................................................
result:
ok 75 lines
Test #19:
score: 0
Accepted
time: 46ms
memory: 24248kb
input:
1000 1000 ##################################################################################################################################################################################################################################################################################################...
output:
############################################################################################################################################################################################################################################################################################################...
result:
ok 1000 lines
Test #20:
score: 0
Accepted
time: 46ms
memory: 24132kb
input:
1000 1000 ##################################################################################################################################################################################################################################################################################################...
output:
############################################################################################################################################################################################################################################################################################################...
result:
ok 1000 lines
Test #21:
score: 0
Accepted
time: 32ms
memory: 24396kb
input:
1000 1000 ##################################################################################################################################################################################################################################################################################################...
output:
############################################################################################################################################################################################################################################################################################################...
result:
ok 1000 lines
Test #22:
score: 0
Accepted
time: 26ms
memory: 18572kb
input:
1000 1000 ##################################################################################################################################################################################################################################################################################################...
output:
############################################################################################################################################################################################################################################################################################################...
result:
ok 1000 lines
Test #23:
score: 0
Accepted
time: 22ms
memory: 18568kb
input:
1000 1000 ##################################################################################################################################################################################################################################################################################################...
output:
############################################################################################################################################################################################################################################################################################################...
result:
ok 1000 lines
Test #24:
score: 0
Accepted
time: 3ms
memory: 12860kb
input:
1000 4 #####################################################################################################################################################################################################################################################################################################...
output:
############################################################################################################################################################################################################################################################################################################...
result:
ok 4 lines
Test #25:
score: 0
Accepted
time: 0ms
memory: 6668kb
input:
4 1000 #### #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #.....
output:
#### #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# #..# ...
result:
ok 1000 lines
Test #26:
score: 0
Accepted
time: 2ms
memory: 12896kb
input:
1000 10 ####################################################################################################################################################################################################################################################################################################...
output:
############################################################################################################################################################################################################################################################################################################...
result:
ok 10 lines
Test #27:
score: 0
Accepted
time: 0ms
memory: 5840kb
input:
10 1000 ########## #...#....# #..#....## #........# ###.....## #..#..#..# #........# #........# #........# #........# #.....#..# #........# #........# #........# #......#.# #.....#..# #...#....# #....#.#.# #.....#..# #....#...# #........# #....#...# #........# #.....#..# #...#....# #........# #..#.....
output:
########## #...#....# #..#....## #........# ###.....## #..#..#..# #........# #........# #........# #........# #.....#..# #........# #........# #........# #......#.# #.....#..# #...#....# #....#.#.# #.....#..# #....#...# #........# #....#...# #........# #.....#..# #...#....# #........# #..#.....# #.....
result:
ok 1000 lines
Test #28:
score: 0
Accepted
time: 42ms
memory: 21972kb
input:
1000 1000 ##################################################################################################################################################################################################################################################################################################...
output:
############################################################################################################################################################################################################################################################################################################...
result:
ok 1000 lines
Test #29:
score: 0
Accepted
time: 47ms
memory: 20700kb
input:
1000 1000 ##################################################################################################################################################################################################################################################################################################...
output:
############################################################################################################################################################################################################################################################################################################...
result:
ok 1000 lines
Test #30:
score: 0
Accepted
time: 30ms
memory: 17692kb
input:
1000 1000 ##################################################################################################################################################################################################################################################################################################...
output:
############################################################################################################################################################################################################################################################################################################...
result:
ok 1000 lines
Test #31:
score: 0
Accepted
time: 17ms
memory: 6096kb
input:
1000 1000 ##################################################################################################################################################################################################################################################################################################...
output:
############################################################################################################################################################################################################################################################################################################...
result:
ok 1000 lines