QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#32228 | #2662. Bomberman | flower | 100 ✓ | 757ms | 38980kb | C++14 | 4.9kb | 2022-05-18 08:57:03 | 2022-05-18 09:29:23 |
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
Subtask #1:
score: 10
Accepted
Test #1:
score: 10
Accepted
time: 3ms
memory: 3704kb
input:
5 P..X. X.... ..X.. ....X .X..K
output:
8 1 1 PPDPDDDP
result:
ok
Test #2:
score: 0
Accepted
time: 0ms
memory: 3568kb
input:
5 ....P .XXXX ..... XXXX. K....
output:
16 1 1 LLLLDDPPPPDDLLLL
result:
ok
Test #3:
score: 0
Accepted
time: 3ms
memory: 3708kb
input:
2 PX .K
output:
2 1 1 DP
result:
ok
Test #4:
score: 0
Accepted
time: 3ms
memory: 3628kb
input:
2 P. K.
output:
1 1 1 D
result:
ok
Test #5:
score: 0
Accepted
time: 2ms
memory: 3700kb
input:
2 P. .K
output:
2 1 1 PD
result:
ok
Test #6:
score: 0
Accepted
time: 1ms
memory: 3648kb
input:
2 PX XK
output:
NIE
result:
ok NIE
Test #7:
score: 0
Accepted
time: 3ms
memory: 3636kb
input:
3 P.X ... X.K
output:
4 1 1 PDPD
result:
ok
Test #8:
score: 0
Accepted
time: 3ms
memory: 3536kb
input:
10 XXXX...X.. X.KX.X.... X.....XX.. X.XXX..X.. X.X...X.X. X....X..X. XXXX..X... ......X.XX .XXXXXP... ........X.
output:
21 1 5 PGGPPGGGGGLLLGLLDDLLG
result:
ok
Test #9:
score: 0
Accepted
time: 3ms
memory: 3568kb
input:
10 ......X... .PX...X... .XX.....X. ....X...X. .XXXX..X.. X.....XX.X .......... .X.....XX. .......XK. ..........
output:
18 1 2 GPPPPDDDDDDPDDDPPG
result:
ok
Test #10:
score: 0
Accepted
time: 3ms
memory: 3708kb
input:
9 ....X.... ...X..X.. ..X..X..X .X..X..X. X..X..X.. ..X..X... .XP.X..X. ..XX..XK. .....X...
output:
40 1 6 PGPGPGPGPGGLLDLDLDLDLDLDDPDPPPGPGPGPPDDL
result:
ok
Test #11:
score: 0
Accepted
time: 149ms
memory: 38892kb
input:
1000 .......X...X.....X..........X.X...XX......XXX...XX.............X...X.................X.X......X....XX..XX...........X...XX..XXXXX.XXXX....X.XXXX.....X...X...X......X.......X..XX........X....XX...X.....X.XX.X.XX.X...X.........X.X...X...............X.....XX..X...X.......X.XXXX....X.XX.X......X......
output:
1097 365 681 LLDLLLLLLLLLLLLDDDLLLLDDLLDLLLLLDLDLLDLDLLLLLLLLLDLLLLLDLLLLDDLLDLLLLLLLLLLDDLLDLLDDDLDDDLLDDDDLLDDDLLLLLLDLLLLDLLLDLDDDLDDDLLLLLLLDDLLLLDLLDDDLDDLLLLLLLLLLLLLLLLLLLLDLLLLDLDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDLLLLLLLLDLLLLLLLLLLDDLDLLLDDLLLLDDLDDLLLLLLLLLLLLLLLLLDLDDLLLLLLLDDDLDLDLL...
result:
ok
Test #12:
score: 0
Accepted
time: 143ms
memory: 38936kb
input:
1000 ...X..XX.X..X.......XXX...X........XX.XX....XX..X...............XX...XXX..XX.X.......X...X.X.X...X..X.....X....X.X..XX.X..XXX...X........XX...XX....X..X..X...X..X...........XX......XX.X.....XX...X...XX..X..XXXX..X...X.XX....XX.X.XX.......X..XXX................X.....X.XX.........X..X...X.X.........
output:
626 286 783 LLLLLLLGGGLLLDDLDDDLLLLDDLLLDDDLLLLLLLLDLLDDDDDDDDDLDLDDDDDDDLLLDDDLLLDLDDDDDDLLDDDDDDLLLLDLDLLDDDLDDDDLDDDDDLDLLLDDDDLDLLLDLLDLDLDDLDDDLDDDLDDDDDDDLDDLLDLDLLLLLLLDDLLLDDLDDLLDDDLLDDDDDDLDLDDDDDDDDDDLDLDDLLLDDDPDDDDLLDDDDDLLLDDLDDLLLLLLLLDDDLDLLLDLLLLGLLLLLLLLDLLLLLLLLLLLLDLDLLDLLLDDDDLD...
result:
ok
Test #13:
score: 0
Accepted
time: 148ms
memory: 38980kb
input:
1000 .X..X..X...XX....X....X....X.XX....X....XX..........X...X..X.X.XX.X...XX...X.XX..X...X.X....XXX.X.XXX.....X.X.....X.......XX..X.XX.XX...X...X...XXXXXX...XXX..X...X.X...X.X.....X...X.......XX..X..XXX.XX...XX......X.XX.XX.....X...X...X.X......X..X.....X.X..XX.X....X..X.X..X..X..X.XX.X.XX...X....X...
output:
1053 529 415 LLDDDDDDLDDDPPPDDPDPPPPPDDDPPDDDDDDDDDDPPPPPPPDDPDPDPPPPPPPPPPDPPPDPPPPDPDPPPPPPPPPPPPDPDPDPDPPGPGGPGPPDPPPDPPPPDDDDDLDDDDDPDDDDPDPDDLDDDPPDPDDDDDDDPDPDDDDDDPDPDPPDPPPDDLDDDDPDPDDDPPPGPPDDDDDDDDPDDDLDDLDDDDDDDDPPPDDDDDDLLDDDDDDPPPDDDDDPPPPDPPPPDDDDDPPPPPPPPPDPPPPPPPPPPPPPPPDDPPDDPPPPDPD...
result:
ok
Test #14:
score: 0
Accepted
time: 97ms
memory: 38892kb
input:
1000 ...XXX.XX...X......X...........XXXX.XXX..XXX...XX.XXX.XXX.X.......X..X...X.X...XX......X.X...X...XX..X.X.....XX..X.X.X.XXXX..X.X.X...X.X.......XX..X...X...XX.X.XX.X..X.X....X.X..X.X....X.X.....X....X.X.XX.XX.X..X...X..XX..X...XXX.X..X..X.XX.X.........XXX..XX.X..X..X..X.X.XX....X...XXX...X.X.X.X...
output:
NIE
result:
ok NIE
Test #15:
score: 0
Accepted
time: 64ms
memory: 38932kb
input:
1000 XX...X.XX.XX.X..X..X..X...X..X.X....X.X.....X.X....XXXXX.XXX...X....XX.X.X.XX.X....X..XX.X...X.....XX....XX....X.X....X..XXX.XXXXXX.X....X.X....X..X..XXX.X..X.XX.X..XX..XXXX.XX.....X..X.X..X.XXXX...X.XXX.....X..XXXX.X..XX..XX.......X..XX..XXXX.XXXX..X...XX..X....XX.X...X.X..X..X.X.XXX.XX...XXXX...
output:
NIE
result:
ok NIE
Test #16:
score: 0
Accepted
time: 1ms
memory: 3708kb
input:
7 P...... ....... ....... ....... ....... ....... ......K
output:
12 1 1 PPPPPPDDDDDD
result:
ok
Test #17:
score: 0
Accepted
time: 101ms
memory: 38896kb
input:
999 ..X.XXXXX.X.XX.XX.X..XX..XXX..XX....XX...X.XXXXX..XXX..X.XX.XXX.X..X.XXXXX.X.XXXXXXXXXXXXXXX...XX.X..X...X.....X.XXXX.X..XXXX.XX.X.XXXXXXX..XXX.XXXX.X.XX.XX.X..X..XXXXX.X.XXXX..X.XXXX..X.XXX.XXXXX...XX....XXXXXXX.XXXXX....X.X.XXXXXX..XXX.XXXXX.XXXX.XXXXXXXXXXXXXXXX.X..X.XXXX.X.X..XXXX..XXXX..XXX...
output:
2179 2 6 DDDDDDLLGGLLLGGGGGGGGGGGGGLLDDDDDDLLGGGGGGGGGGGGGGGGGGLLGLLLGLLLLLLGGLGGLLLGGGPGGLLLLLLGLLLGLLLLLLGGLLLGGGLLLLLLGGLGLLGGGGGGGGLLLLLLGGLGGPPGGPGGGGGGGLLLLLLLGGGGGGGGGLLGGGLLGGLGGPGGPGGPGGGGGGGLLDDLLLLLLLLLGGGGGGGGGGGGGGPPGGGGGGGGGLLGGLGGPGGGGGGGGGGLLLGGGGLLLLLLGGLLLGGGGGGGLLGGGGGGGGGPPGGPGGL...
result:
ok
Test #18:
score: 0
Accepted
time: 275ms
memory: 38860kb
input:
999 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...
output:
270890 39 698 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok
Test #19:
score: 0
Accepted
time: 81ms
memory: 38812kb
input:
999 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...
output:
253897 2 16 PGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGPPDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDPPGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGPPDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDPPGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGPPDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDPPGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGPPDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDPPGGG...
result:
ok
Test #20:
score: 0
Accepted
time: 0ms
memory: 3560kb
input:
2 KX XP
output:
NIE
result:
ok NIE
Test #21:
score: 0
Accepted
time: 2ms
memory: 3708kb
input:
10 XX........ XXX.....K. .XXX...... ..XXX..... ...XXX.... ....XXX... .....XXX.. ......XXX. .P.....XXX ........XX
output:
NIE
result:
ok NIE
Test #22:
score: 0
Accepted
time: 3ms
memory: 3664kb
input:
2 PK ..
output:
1 1 1 P
result:
ok
Test #23:
score: 0
Accepted
time: 17ms
memory: 4912kb
input:
200 ....................X..........................................XX..........X.....................................................................X...................X.................................. ..........................................X.......................................................
output:
167 38 39 GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGLLLLLLLLLLLLLLLLLGLLLLLLLLLLLLLLL
result:
ok
Test #24:
score: 0
Accepted
time: 2ms
memory: 3652kb
input:
21 XXXXXXXXXXXXXXXXXXXXX X..................PX X.XXXXXXXXXXXXXXXXXXX X...................X XXXXXXXXXXXXXXXXXXX.X X...................X X.XXXXXXXXXXXXXXXXXXX X...................X XXXXXXXXXXXXXXXXXXX.X X...................X X.XXXXXXXXXXXXXXXXXXX X...................X XXXXXXXXXXXXXXXXXXX.X X.............
output:
198 2 2 LLLLLLLLLLLLLLLLLLDDPPPPPPPPPPPPPPPPPPDDLLLLLLLLLLLLLLLLLLDDPPPPPPPPPPPPPPPPPPDDLLLLLLLLLLLLLLLLLLDDPPPPPPPPPPPPPPPPPPDDLLLLLLLLLLLLLLLLLLDDPPPPPPPPPPPPPPPPPPDDLLLLLLLLLLLLLLLLLLDDPPPPPPPPPPPPPPPPPP
result:
ok
Test #25:
score: 0
Accepted
time: 7ms
memory: 4956kb
input:
199 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX X..................................................................................................
output:
4281 108 189 PPPPPPPPPDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok
Test #26:
score: 0
Accepted
time: 7ms
memory: 4848kb
input:
200 XXXXXXXXX..XXXXXXXX..XXXXXXXX..XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..XXXXXXXXXXXXX..XXXXXXXXXXXXX..XXXXXXXX..XXX..XXX..XXXXXXXXXXXXXXXXXX..XXX..XXXXXXXXXXXXXXXXXXX X.............XX........XX........XX........XX........XX...XX...XX........XX......................
output:
8497 2 3 GGGGGGLLLLLGLLLLLDDLDDDDDDDDDPPPPPPPPPGPPPPGGPGGGGGGGGGGGGLLLLLLLLGLLLLLDDLLLLLDDDDDLLDDDDDDDDDDDDDPPPPPPPPPPPPPPPPPPPPDPPPPPGGGGGGGGGGGGGGGGPGGGGGLGGGGGLLLLLLLLLLLLLLLLLLDDLLLLLLLLLLDDDDDLLDDDDDPDDDDDLDDDDDPDDDDDDDDDPPPPPPPPPPPPPPPPPPPGPPPPPPPPPPDPPPPPGPGGGGGGGGGGLGGGGGGGGGGGGGGGPGGGGGLGGG...
result:
ok
Test #27:
score: 0
Accepted
time: 129ms
memory: 38812kb
input:
1000 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...
output:
50730 3 302 DDDDDDDDDDDDDLLLLLLLDDDDDDDDDPPPPPPPPPPPPPPPPPPPGGGGGPPPPPPPPPPPPPPPPPPPPPPPPPGPPPGGGGGGGGGGGGGGGGGGGGGGGGGPPPPPPPPPPGGGGLLLLLLLLLLLLLLLLGGGGGGGGLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLLLLLLLLLLLDDDDDDDDLLLLLLLLLLLLLLLLLLDDDDDDDDDDDDDDDDDDDDDDDDDLLDDDDDDDDDDDDDDDDDDDDDDDDDPPPPPPPPPDDDDD...
result:
ok
Subtask #2:
score: 20
Accepted
Test #28:
score: 20
Accepted
time: 2ms
memory: 3668kb
input:
10 .......... .########. .#......#. .#X##X#.#. .#X#P.#X#. .#X#..#X#. .#X####X#. .#XXXXX.#. .#X####X#. ..X..K....
output:
16 4 7 PPGPPPDDDDDDLLLL
result:
ok
Test #29:
score: 0
Accepted
time: 3ms
memory: 3652kb
input:
2 PK X#
output:
1 1 1 P
result:
ok
Test #30:
score: 0
Accepted
time: 0ms
memory: 3564kb
input:
2 #K P#
output:
2 1 1 GP
result:
ok
Test #31:
score: 0
Accepted
time: 1ms
memory: 3708kb
input:
50 .................................................. .#..............................................X. ..############################################..X. #.............................................##X. .############################################...X. .............................................
output:
285 22 5 GGGGGGGGGGGGGGGGGGGGGGGLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDPDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPDPPDDLLLGLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDDDDDDLDDDDDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPDDDDDDLLGGLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDDDDDDDDDDDDDDDDDDDDDDDDDDD
result:
ok
Test #32:
score: 0
Accepted
time: 3ms
memory: 3668kb
input:
50 K......#####X##################################### ###..#.....#X##################################### ......####.#X##################################### ...###.###.#X##################################### ......#.....X##################################### #####.#..###X#########.................###...
output:
64 11 27 DDDDPPGGGGGGGGGGGGGGGGGGLLLLLLLLLLGGLLLLLGLGLLGGPPGGGLLLLGLLLLLL
result:
ok
Test #33:
score: 0
Accepted
time: 3ms
memory: 3616kb
input:
10 P########X ########## ########## ########## ########## ########## ########## ########## ########## X########K
output:
18 1 9 PPPPPPPPDDDDDDDDDP
result:
ok
Test #34:
score: 0
Accepted
time: 2ms
memory: 3640kb
input:
11 K.......... XXXXXXXXXX. #.......... .XXXXXXXXXX #.........# XXXXXXXXXX. ........... .XXXXXXXXXX ........... XXXXXXXXXX. P..........
output:
70 5 1 PPPPPPPPPPGGLLLLLLLLLLGGPPPPPPPPPPGGLLLLLLLLLLGGPPPPPPPPPPGGLLLLLLLLLL
result:
ok
Test #35:
score: 0
Accepted
time: 2ms
memory: 3508kb
input:
5 ##..# .PX#. .XXX. #.XK# .#.#.
output:
8 1 5 GPPPDDDL
result:
ok
Test #36:
score: 0
Accepted
time: 0ms
memory: 3704kb
input:
7 ....... ....... ###X### #PX.XK# ###X### ....... .......
output:
NIE
result:
ok NIE
Test #37:
score: 0
Accepted
time: 3ms
memory: 3788kb
input:
45 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX# X.#...X..........XX.......XX#X#....XX.......X #.#.X.#...X...###XX......#XX....#..XX..#..##. ..#.#.#..........XX.......XX.......X#........ ..#.#.#...#.#X###XX.........#....#XX#........ X.#.#.#..........XX..............#.XX.......X X.#.#.#.XX.######X#.....
output:
232 6 4 LDDLDDDDDDDDDDDDDDDDDDDDDDDDDDDDLDDDDLLLLLGLLGLLGGGGGGGGGPGGGGGPGPGPGGGGGGGLLLLLGGPPPPPPGGLLLLLLGGPGGGLLDLLDDLDDDDDDDDDLDDDDDDDDDLDDDDDDDDDLLLDLLLLLLLGGGGGPGGGGPGGGGGGGLLGGGGGGGGGGGGGGGLLGGLLLLLLLDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
result:
ok
Test #38:
score: 0
Accepted
time: 3ms
memory: 3788kb
input:
45 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX X...X...XXX..XXX.XX.X.X#.#XX.X#.XX....#.X.XXX XX.X......#.#X.#X..X...X..XX.........X...X.XX X......#..X....XX...X#..X.XX..#.X..........XX XXX..#....##...X...X.XXXXXXX.X..XX.XX...#..XX X..XX...XX.XX..X.XX#..X...XX.#.X...XX....#.XX XXX.#XXXXXX...#X.XX#....
output:
NIE
result:
ok NIE
Test #39:
score: 0
Accepted
time: 3ms
memory: 3696kb
input:
45 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX X...#........##.#.....#...XX.......XX...#...X X.X.........#.................X...........#.X X....XX...#...........#X....#.#.X........X..X X.#..X.X...........##.X.#...X..#.X...##.....X X.#..........#..#.........................#.X X...............#...#...
output:
NIE
result:
ok NIE
Test #40:
score: 0
Accepted
time: 0ms
memory: 3752kb
input:
45 .##X#X.#.XXXXX.X.#.XXXX#.X#.#.XX...X#..X#X#.. X.......XX.......XX............#..#..#..#...X X...#........#...XX.....#....#.........#..#.X X.............................#..#.......#..X X..#..K.....#..........#....#.....#..#.....#X X.........................XX.#..#..XX..#....X X.#........#............
output:
215 5 7 GLLGLLGLLLLLLLLGLLDLLLLLDDLLLGLLLLLDLLGLLLLLLGGGGGGGGGPPPPPPPGPPPPPGPPDPPPPPGPPPPDPPPPPGGPGGGGGGLLLLLLLLLLLLLGLLLLLLLLLLLGLLDLLLGLLLGGLGGPGGPPGPPPPPPPPPPPPPGGPPPPPPPPPPPDPPPPPGGPPGGGGGLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL
result:
ok
Test #41:
score: 0
Accepted
time: 3ms
memory: 3736kb
input:
45 XXX#.#X#X..####.###.X.#X####X.#X.#X##...X#### X.......XX.......XX...#.#.XX..............#.# ........XX.......XX.#.....#X................. #.......XX.......XX.#...#........#........... #..##...XX.....##...#.X.#........#.XX.......# .....K................#............XX.....#.. ....#...........#...#...
output:
74 6 6 GGGGGGGLLLGGLLGLLLLGGGGGGGGLLGGLGGGGGGGLLLLLLLGGGGLLGGLGGGLLLLLLLLLLLLLLLL
result:
ok
Test #42:
score: 0
Accepted
time: 0ms
memory: 3800kb
input:
45 X.#XXX#X#.X.#..X#XXXX.XX#..X#.X###X.XXXX##..X X.#..P......................................X X.#.......###.#...............##.##.......#.X X.#.....................................#.#.X #..........#..#.#...........#X#..##.....#...X X...........................................X X...........####........
output:
NIE
result:
ok NIE
Test #43:
score: 0
Accepted
time: 3ms
memory: 3736kb
input:
45 #XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX# #.#...#.XX.#...#.XX..........#...#.XX...#...X X.#.#.#.XX.#.#.#.XX######....#.#.#.XX.#.#.#.X ..#.#.#.XX.#.#.#.XX..........#.#.#.XX.#.#.#.# X.#.#.#.XX.#.#.#.XX.######XX.#.#.X.XXK#.#.#.# #.#.#.#....#.#.#.XX.......XX.#.#.#.XX.#.#.#.X ..#.#.#....#.#.#.XX##...
output:
334 11 3 GGGGGGGGLLLGGGGGGGGGGGGGGGGGGGGGGGGPPPGGGPPPPPPPGGGGGGPPDDDDDDPPDDDDDDDDDLDDDLDDDDDDLLDLDDLDDPPPPPPDDLLLLLLDDPPPPPPDDDPPPPPGGGGGGGGGPGGGLGGGGGGGPGGPGGGGGGGGGPPGGLLLLLLGGPPPPPPPPPDDDDPPDDDLLDDPPPPPPDDLLLLLLDDPPPPDDDPPDDLLLLLLDDPPPPPPDDDDDDDDDDDLDDDPPPPGGGGGPPPPPPGGLLLLLLGGGGGGGPPPPPPGGLLLLLL...
result:
ok
Test #44:
score: 0
Accepted
time: 2ms
memory: 3564kb
input:
2 K# #P
output:
2 1 1 LG
result:
ok
Test #45:
score: 0
Accepted
time: 1ms
memory: 3612kb
input:
2 XP K#
output:
2 1 2 DL
result:
ok
Test #46:
score: 0
Accepted
time: 0ms
memory: 3572kb
input:
2 K# XP
output:
2 1 1 GL
result:
ok
Test #47:
score: 0
Accepted
time: 1ms
memory: 3536kb
input:
2 K# PX
output:
1 1 1 G
result:
ok
Subtask #3:
score: 30
Accepted
Dependency #2:
100%
Accepted
Test #48:
score: 30
Accepted
time: 4ms
memory: 4784kb
input:
200 ....#.X.........#..X.XX.....#.....##.......#X.#.#.##..X...###.#....##.##.######XX.#...#.....#......#..X..#...##.#X........#.........XX#..X..X............#..X#.X.#.#X......##.#.X.....X................# X.#........#....#...#.#...#..#..#....#.......X#X..X.#...#.....##.........#....#...X....X..........
output:
116 64 95 DDDDDLLDDDDDDDPDPPPDDDDDDDDDDDDDDDDDDDDDDDDDPPPDDDPPDDDPPDDDDDDDDDPPPPPPPPPPPDDDPPDDPPPDDPPPPPDDDDDPPPPDPPPPPPDDDPDD
result:
ok
Test #49:
score: 0
Accepted
time: 5ms
memory: 4840kb
input:
200 #.......#XX...##.X..#.#....X.#..#....#XX#...###.#...#.....X##...#.##..........#....#X..#...#..#..X#....#....X.X###X..###X..#X.....#.#.##..#......#....#......#........##...X......#.X.X...X#..#X....#... .#..#....##..............XX..#....##...#......##....#.........#.X....#.#...........X....###.#X#...
output:
128 115 60 GGGGLGLGGGLGGPGGGLGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGLGGGGLGGGPGGPGGPGGGGLGGGGGGLGGGGGGGPGPGPPD
result:
ok
Test #50:
score: 0
Accepted
time: 6ms
memory: 4924kb
input:
200 .X..........##.XX##.#####....#...#.#X#XX#..##..#.#.##.X..##.#..#......#.#.##...#..XX.#.##...###.....#....#...#.####..###..X##..#.X....##.X..#..##.#.#...#.X.#.X.X.#....##.X###..#X.##X#.X....XX.X####... .#.....#.###........##.X#.....#..X....X.#.##.#X##....#...#..##..#...#.#.X...X.#..X###...#...#X....
output:
259 129 128 LLLDDLLLLLLDDDDLLGLLLLLDDDDDLLDLLLLLLGLLLDLLLLDLLLLLLDLLDLDDDDPDDDDLDDDPPDDDDLDDDDLDDDDDDLLDDLDLLLLLLLLGLLLDLDLLDDLLLDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDDLLDLLDLLDDDDDLLDLDLLDDLLLLDLDDDD
result:
ok
Test #51:
score: 0
Accepted
time: 10ms
memory: 4916kb
input:
200 ...#.......#..###.#.####.###X....#.#...###..##...#...#.#.#...#...#......###.##.#.###.##.#.......#.#....#..#.##..#.###...#.#..#....#......#.####.X#......###.#..##.###...#.##.X#.#.###...##.#...#......#X .X#....#..##.####..#.##..#..#...####.#####.#.#.##....#..#..X..#.#...#....##.....#....##.#.#####...
output:
184 94 195 GGGPGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDDLLDLDDDDDPPG
result:
ok
Test #52:
score: 0
Accepted
time: 23ms
memory: 4912kb
input:
200 ..................#.................................................................................................................................................#................................... ........................................................................................#.........
output:
95 120 140 GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
result:
ok
Test #53:
score: 0
Accepted
time: 3ms
memory: 4884kb
input:
200 #.XXX#.X..XXX..XXX#X#.X#X###.#.X#XXX#.X.X#.X..#..X.XX###..##X#XXX#.X#.##X.##XX#X..X#X#XX.###..XXXX.X##XXX.XXXX..X#.##...###X##..XX#X####.##X.##X#X.XX##XXX..XX#XXX#XX#.XXXXX..##..X######XXXX.X.#..##XX# ...#..X#..X....#X#..X#XXXX#.#.#.#...X#.X....X...XXX....X.X....X.....#.....XXXXX..X....X..#.#......
output:
406 139 150 GGLGGGGGGPPPGGGGGGLLGGGGGGGGGPPGGGGLGGGGLGGLLLLDLLGGGGGGGLLLLLDDLLGLGLLLDLLLLLGGGGLGGGGGGGGGGLGGGLGGLLLGGLLLLGGGGGGGGLLLLDLLLLGLGLLGLLLLGGGLLLDDLDLLLDLDLLLDLDLLLGGGGGLLGLLLLLGLLLLLLGGGGGGGLGGGLGGPGGLLLLLLGGGGGGLLGGLGLLGLLGLLLLLLLLLGGLLGGLLGGGGGGLGGGLGGGGGGGGGPGPPPDPPPGGLGGGLLGGLLLLLGGLLG...
result:
ok
Test #54:
score: 0
Accepted
time: 7ms
memory: 4928kb
input:
200 #X..##XX#.XXXXX##.X..X.X.##XX#X#.#X.XX##.##XXXX.###....XX.X##X.X#.#X.XX..#X#X#XXXX..#X###X#XX#.#X#.X.XX.#X.#X##X.X###X...XX#X###X#X#XXXX...#.#X#X###X..XXXX.XXX.X#X#XX#..#.XX#.XX.X..XX..X.XXX..X#.###X# X.................#..#..XX...........#.....X..X....#...X.X...#.#.......#X.XXX.....##.X.X.X........
output:
1961 181 106 PGGGPGGGPGPPPPPPPPPGGPPDPPPPPPPPDPPDPPGPPPPPPPGPPPPPPPPPGPGPPPPPPPPPGPPPPPPDDPDPPPPPPPPPPPPPGPGPGPPGGGPGPPPPPPPPPDDPPPDPPPPDDPPDPPPPDDDDDDDPPPPPPPPPPPDPPPPPDPDPPGPPPDPPDPPPPPPGGGPPPPPPPPGPPPGGPGPPPGPPPPGPPPPPPPPPGGGGGPPPPGPPGPPPPPPPGGGGGPGGGLLLGLLLLGLLLGGGGGLLGGLGLLLLLLGGGGGLLLLLGLLGGLL...
result:
ok
Test #55:
score: 0
Accepted
time: 2ms
memory: 4812kb
input:
189 .XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. ...#.#..XX.#..##.X.##..#..XX...#X....#.....X...X....XXX..#X.X.....XX......#X....XX#....##..#.....#.#.#X.#....
output:
1333 25 75 GGGGGGGGGGLGGGGPGGGPPPPGGGGGGPGGGGGGGGGGGGGGGGGGGGLGLGGGGGGGGGPGGGGGGGGGGGGPPGPPGGGGLGLGGGGGGGGGLGGGGPGGGGGGGGGLGGGLLGGPGGGGPGGGGGGGGGGPPPGPGGPGGGGGGPPGPGPPGGGGGGPGGGGGGGGPPGGGPPGPPPDPPDPDDDDDDDPPDDDDDPPDDDDDPDDDDDDDDDDDDDDDPDDDPDDDDDDDDDDPPPPDDDDDDPDDPPDDDDDDDDPDDPDDDDDDPDPDDDDDDDDDLDDDL...
result:
ok
Test #56:
score: 0
Accepted
time: 5ms
memory: 4936kb
input:
195 XXXXXXXXXXXX..XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..XXXXXXXXXXXXXXXXXXXXXXXX..XXXXXXXXXXX..XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..XXXXXXXXXXXX X......#...........#.....XX.....#...#XXX#....##X#.......#.....#.XX.....#....................#..X.#.....
output:
3203 60 44 PPGPPPGGGGLLLLLLLLDDLLLLDDDLLLDDDPDDPPPPPPPPPDPPPPPPPGPPPGGGGGGGGGGGPGGPGGGGGGGGGGGGLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLLLDDDDDDDDDDDDDDDDDDDDDPDDDDDDDPDDDDLDDDDDPPPPPPPPPPPPPPPPPPPPPPPPGPPPPPPGPPPPPPPPPPPDPPPPGGGPPPGGPGGGGLGGPGGGGGGGGGGGGGGGGGGGGGGGLGGGGGGGGGGGGLLLLLLLLDLLLLLLLLDLLLLLLLLLLL...
result:
ok
Test #57:
score: 0
Accepted
time: 7ms
memory: 4816kb
input:
189 XX#..#X#XX.X#X.#.#.###..#.X.X...#.##XXXXX#XXX.#X.XX.X...#.X#XX.#..X.X##.#X##.X####XXX...#.#..##X#XXXX#.XX###.#X..##X#..###X..XX..X...##X...X..XX#X.##XX.X.#X#..#.X#X.X.#..#XX#X#.#X.X##....XX #...........#..#....XX..#.#..#.X......##XXX..#...#............XX...X.....#.....##.#XX..X..#....#........XX...
output:
385 166 189 GGGGGGGGGGGGGGGPPPPPPGPPPPPGGGGLLLLLLLLLLLLLLLLLLLGLLLLLLLGGGGGGGGGGGGGGGGGGGLLGGGGGGGGGLGGGGGPGGLGGGGGLGGGGGGGGGLLGGGGPPGGGGGGGGLLLLLLLLLLGGGGGGGGGGGGGGGGGLLLLGGGGLLLLLLLLLLLLLLGLLGGGGGGGGGGGGGLLLLLLLLLLLGGGGGGGLLLLLLLLLLLGGGGGGGGGGGLLLLLLGGGGGGGGGGGLLLLLLLLLDLLLLLLLLLLLLLLLLLLLLLGLLLLL...
result:
ok
Test #58:
score: 0
Accepted
time: 3ms
memory: 4716kb
input:
189 .XX##X##.#X#.#XXX.#.X#..X.#X..###.XX#X###XX#..X#..#.X...X.X#.##..#XX#..##X.#.#X####X.XX####XX.#...X...XX.X#.X#.##X...X#####X##..X..#X##X.X..XXX#..XX#XX#X#...#.X.#X###.XXXX..X#.##...XX#.#X#. ##.....#..#.....#..#XX#.....#..#.....#..#XX#..#.....#..#.....#XX#.....#..#.....#..#XX#.....#..#.....#..#XX...
output:
362 11 31 LDLDLDLDLDLDLDLDLDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD...
result:
ok
Test #59:
score: 0
Accepted
time: 2ms
memory: 4740kb
input:
195 #XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. ............XX...........XX...........XX...........XX...........XX...........XX...........XX...........
output:
3398 41 165 LLDDDDDDDDDDDDDPPPPPPDDDDDDDDDDDDDDDDDDDDDDDDDDLLLLLLDDDDDDDDDDDDDPPPPDDDDDDDPPDDDDDDLDDDLDDDDDDDDDDLLLDDDDDDDDDDPPPDDDDDDDDDDDDDDDDLDDDPDDDDDDDDDDLLLDDDDDDDDDDDDDDDDDDDDDDDDDDPPPDDDDDDDDDDDDDLLLLDDDLLDDDDDDDDDDDDDDDDDDDLLLGGGGGGLLLLLLLLLGGGPPGGGGGGGGGGPGGGGGGGGGGPPGGGGGGGGGGGGGGGGLLGGGG...
result:
ok
Test #60:
score: 0
Accepted
time: 10ms
memory: 4800kb
input:
189 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX X#..#.....#..#.....#..#.....#..#.....#..#.....#..#.....#..#...XX.............................................
output:
497 38 18 PPGGPGGPGGPGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPDPPPPDPPPDPDPDDDPPDDPPDPPPDDPPPDDDDDDDDDDPDDDDDDPDDDPDDDDD...
result:
ok
Test #61:
score: 0
Accepted
time: 4ms
memory: 4820kb
input:
189 .##X#.##.X..XX#X#...X.X#.XX#.XXXX#XX.XXXX#..##.XX.XX#....X##.X#.XX#.XXX#XX..XX.....##.####X##X.XXXX#..#..X###X##X#...X.#..X#..X.#...XX.#X#.X#..#XX##XXX#.#.#X#.##X.#.X..#XX#XX.X#X..XXXXXX.XX X.#.#...#.......#...XX.#.#...#...#.#...#.XX.#.#...#...#.#.#...XX...................XX.......#...#.......XX...
output:
1664 177 20 GGGGGLLLLLLLLLLLLGLLLLLLLLLLLLLLGLLLLGLLGGLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGGGGGGGGGGGGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPDDDDPPPPPPPPPPPPPPPPGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPGGGGPPGPP...
result:
ok
Test #62:
score: 0
Accepted
time: 4ms
memory: 4860kb
input:
189 XXXXXXXX#XXXXXXXXX#X..X#X#XXXXX#XXX#XXXXXXXXXXXXXXXX#X#XXXXXXX#XXXXXX#X#X#XXXXXXX#XXXX#XXX#XXXXX#X#XXXXXXXXXX#XXXXXXXXXXX#XXXXXXXXXX#X#XXXXXXXXXXXXXXXXXXXXXX#X#XXXXXXXXXX#XXX#XXXXXXX#XXXXXX X...#...#.#...#.#.#....X.#...#.X.#.....#......................#X.X.....X.#...#...#.XX...................XX...
output:
2181 19 69 DDDDDDLLLDDLLDDDDDDDDDDDDLDDPDDDDPDDDDDDDDDDDDDDDDDDDDDDLDDDDDDLLLDDLDDLLDDPPDDDDPPPPPPPDDLDDDPDDDDDDDDDDDDDDDDDDPPDDDDDDDDDDDDDDDDDDDDDDDDPPPDDDDLLLLDDPDDLLDDDDDDLDDDDLLDDDLLDDDDPPPPDDLLLDDPDDLDDDDPDDDDPDDDDDDDDLLLLLLDDDDLLLLDDDLLLGGLGGLLLLLGGGGGGLLLLLLLGLLLLLLLLLLDDLLDDLLDDDDLLDDLLLLDLL...
result:
ok
Test #63:
score: 0
Accepted
time: 7ms
memory: 4852kb
input:
189 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX #...#...#...#...X.#.X#.#.....#.#.#.......X#...#...#.......X.#.XX...................XX...................XX...
output:
2297 9 14 DDDPPPDDPPDDLLDDDDDDLLLLLLDDDPPDDDDDPPDDPPDPPDDDDPPDDPPGPPPGGGGGPGGPPPGGPPPGGGGPGGGLLGGGGGGLGGPGGLGGPPGGLGGPPGGLLLGGGLLGGGGLGGGGLLLLLGGLLLLLLDLLGGLLDLLGLLGGLLLLDLLLLDDLLDDDDDDPPDDLDDLDDLDDDDDDLLDLLDLLLLDDLLDDDDLLDDLLDDDDDDPPPPDDLLLLDDDDPDDDDDDDDDDPDDPPPPPPPPPPDDDDDDDDDDDDPPPPDPPPPPPPPPPPPP...
result:
ok
Test #64:
score: 0
Accepted
time: 3ms
memory: 4812kb
input:
189 #X.XXX..X#.#.XX..###XX##.X####X.######X..X.#X#X.#XX#X.X.#.#..X#X...XX.X#X#.##X.#.##X##.X..X#XX#.#XX..##........X...X#.XX#..##.X####.X#X#X#.X#.#.X.X.X.#.#XX.X#..X##X..#...XXXX...#X..XX#..#.# X...#...#...#...#...XX...................XX.#...#...#...#...#.XX.#...#...#...#...#.XX.#...#...#...#...#.XX...
output:
579 107 128 GLLLLGGLGLLGGGGGGGGGGGGGGGGGGLLDDDDDDDDDDDDDDDDDDLLGGGGGGGGGGGGGGGGGGLLDDDDDDDDDDDDDDDDDDLLGGGGGGGGGGGGGGGGGGLLDDDDDDDDDDDDDDDDDDLLGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGLLLLLLLLLLLLLLGGGLLLLLLLLLGGGGGGGGGGGGGGGGGGLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGGGGGGGGGGGGGGGGGGGGPPGPGGPPPPPPPPPGG...
result:
ok
Test #65:
score: 0
Accepted
time: 7ms
memory: 4724kb
input:
189 X..X#XX#XX###.XX##X.X.##...X#.XX.#X#.###.#X.X##.#..##X..####..#...X..#XXX#.##.X#X#...X#.#.X##.X##..X.#...##.#.#...XXX.#XX##..X.##.##X##.#.XX.#X###..#.X.#..##....#.###X.X.X#X#XX####X.#.X..X. X...#...#...#...#........#...#...#...#...XX...#...#...#...#...XX...................XX...................XX...
output:
10029 173 23 DDDDDDDDDDDPPGGGGGGGGGGGGGGGGGGPPDDDDDDDDDDDDDDDDDDPPGGGGGGGGGGGGGGGGGGPPDDDDDDDDDDDDDDDDDDPPGGGGGGGGGGGGGGGGGGPPDDDDDDDDDDDDDDDDDDPPGGGGGGGGGGGGGGGGGGPPPPPPPGPPDPPDDDDDDDDDDDDDDDDDDPPGGGGGGGGGGGGGGGGGGPPDDDDDDDDDDDDDDDDDDPPGGGGGGGGGGGGGGGGGGPPDDDDDDDDDDDDDDDDDDPPGGGGGGGGGGGGGGGGGGPPDDD...
result:
ok
Test #66:
score: 0
Accepted
time: 7ms
memory: 4860kb
input:
189 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX X...#...#...#...#...XX...#...#...#...#...XX.#...#...#...#...#.XX...................XX.#...#...#...#...#.XX...
output:
8707 23 173 DPPPPPPPDDLLLLLLLLLLLLLLLLLLDDLDLLDLLLLLLLLLLLLLLLLLLDDPPPPPPPPPPPPPPPPPPDDLLLLLLLLLLLLLLLLLLLLLGGLLLLLLLLLLLLLLLLLLGGPPPPPPPPPPPPPPPPPPGGLLLLLLLLLLLLLLLLLLGGLLLDDLLLLLLLLLLLLLLLLLLDDLLLGGGGGGGGLLDDDDDDDDDDDDDDDDDDLLGGGGGGGGGGGGGGGGGGLLDDDDDDDDDDDDDDDDDDLLGGGGGGGGGGGGGGGGGGLLDDDDDDDDDDDD...
result:
ok
Test #67:
score: 0
Accepted
time: 2ms
memory: 4676kb
input:
187 #.##X##...#X.#..##XXXX#X#X..##X#XX###XX##.X.#X#...#XX##.X#X#XXX..X.X.#X..XX...##.#.##XX#..X.##.X#..#X#.#XXX#XX#XX#.X.##XX#X##X#X.X.X#XX#XX#.X.#XX.#.XX.XX....##X.X#..#X#.#X.X..XX#.###X##XX X...............XX...............XX...............XX...............XX.#...#...#...#.XX...#...#...#...XX...#....
output:
8196 6 172 LGGPPPPPPPPPPPPPPGGLLLLLLLLLLLLLLGGPPPPPPPPPPPPPPGGLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDPPPPPPPPPPPPPPDDLLLLLLLLLLLLLLDDLDDLLLLGGGGGGGGGGGGGGLLDDDDDDDDDDDDDDLLGGGGGGGGGGGGGGLLDDDDDDDDDDDDDDLLGGGGGGGGGGGGGGLLDDDDDDDDDDDDDDLLGGGGGLLLDDDDDLLDLLGLLGGGGGGGGGGGGGGLLDDDDDDDDDDDDDDLLGGGGGGGGGGGGGGLLD...
result:
ok
Test #68:
score: 0
Accepted
time: 22ms
memory: 4980kb
input:
200 P####################################################################################################################################################################################################### ###############################################################################################...
output:
398 1 199 PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD...
result:
ok
Test #69:
score: 0
Accepted
time: 7ms
memory: 4660kb
input:
190 #XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. ..#...#...#...#...XX....................................XX.#...X...#...#...XX.................XX.#...#......
output:
7112 116 141 DDDDPPDDDPPDDDDDDDDDDDDDDDDPPDDDPPDDDDDDDDDDDDDDDDDDDLLLLLLLLDDPPPPPPPPPPPPPPPPDDLLLLLLLLLLLLLLLLDDPPPPPPPPPPPPPPPPDDLLLLLLLLLLLLLLLLDDPPPPPPPPPPPPPPPPDDLLLLLLLLLLLLLLLLDDPPPPPPPPPPPPPPPPDDLLLLLLLLLLDDDLLLLLLDDPPPPPPPPPPPPPPPPDDLLLLLLLLLLLLLLLLDDPPPPPPPPPPPPPPPPDDLLLLLLLLLLLLLLLLDDPPPPP...
result:
ok
Test #70:
score: 0
Accepted
time: 6ms
memory: 4768kb
input:
198 XX##X.XX.##.X#.##.XXXX#XXXX#X.X.XXX.###X.##X...XX.#X#X#.#X..X...X.#XX#X#..X...XXXX.XX.#..XX..XX#.#XX##XXXX#XX##X###.###X.X#X#.X.XX#X#.#.#.XXX#.XXX.#X#X....X#..X#.#XX.XXXXX.#XXXX.##.X.#X.#XX..#XXX#.# X...............................XX...............................XX.................................
output:
1229 117 20 GGGGLGGLGGLGGLGGLGGLGGLLLDLLLLDLLLLDLLLLDLLLLDLLLLDLLLLLGGLLLLLLDDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDLDDDDDDLLLLLDDDDDDLLLLLLLLLLLDDDPPPPPDDDDPPPPPPDDDDPDDPPPPPPPPDDPPPPPPPPPPGPPPPDPPDPPPPPPDPPPPPDD...
result:
ok
Test #71:
score: 0
Accepted
time: 2ms
memory: 4864kb
input:
190 ####XX.#.#.X###XX...X#...#..X###XXXX.X#X###XX.XX##X.##X.X.#X##X####.#X#..#X##XX.XX.#X#XXX#.###.#XXX#.#XX......#.##X#X#..XX.X##.#X.XXXXX#X.X..X.X#..####X#X##.#.#X.#XX..X#XX.#.#.#.X.X..XXXXX.. ..................XX.#.X...#.#.#.#...XX.X...#.....#.....XX...#.....#.#.....XX.#...#...#...#...XX............
output:
374 148 155 LLLDDLLLDLLLDLDLLLLGGGLLGLLGLLLLLGGLLGLLLLGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGLLLLLGLLGLLLGLGGGGGGGLGGGGGGGGGGLLLLLGLLLGGGLLLGGGGGGGGGGGGGGGGLGGGLGGGGGLGGLGGGGLLLLLLLLLLGLLGLLLLLLLLGGLGGLLLGGLGGGGLLLLLLLLLGLGGGGLLGGGGGGGGGGGGPGGGGPGGLLGLGGLLLLGGLLGLLLLGLLGGLLGGLGGLLLLLLLLLLGGLGGLGGGGGLLLLGLLLG...
result:
ok
Test #72:
score: 0
Accepted
time: 4ms
memory: 4736kb
input:
195 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX X.###..X.....#...#...#......#..#.#...#XX.X...#...#...#...#...#...#...#...#...XX.#...#...#...#...#......
output:
3496 176 158 DDPDDPPPPPDPPPPPPPPPPPPGPPPGPPPDDDDDDDDDDDDDDPPGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGPPDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDPPGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGPPDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDPPGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGPPDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDPPGGGGGGGGGGGG...
result:
ok
Test #73:
score: 0
Accepted
time: 7ms
memory: 4772kb
input:
189 #XXXX..XXX..#X#X#XXXX..#X...X.....##....X..X##X..X.###XX#X#...XX###.#...###.XX##XX#XX#X##.X#X#.###X#..#..##X##XXX##.XX#XX.XX#.##XX.X.###...#####X#.#X.....#X#.X..XX..#..X..X#X.##.###.X.X..X. X.#.....XX.......XX.......XX...#..#XX.#.....XX................XX....#..XX.#.....XX...#.#.....................
output:
381 5 4 PPPPPPPDDDPPPPPPDDDDDDPPPPPDPPPPPPPPPDPPPPPPPDPPDDDPPPPPPPPPDDDDPPPPGGGPPPPDPPDPPGPPPPPPDDPPPPDDDDDDDDDDDDDDDDDDPPPDDPDDDPPDPDDDDDDDDPPDDDDDPPPDPPPPDDDDDDLLDDDDPDDPDDPPPPPDPPDDPDPPPPPPPPDDDPPPPDDDDPPPDPPPPDDDDPPDDPPPPPDPPDPDDDDDDPDPPPPPPPPDDDPDDDDDDPPPPDDPPDPPDPDDDDDDDDDDPDDPPDPPDDDPDPPPPPPD...
result:
ok
Test #74:
score: 0
Accepted
time: 5ms
memory: 4816kb
input:
198 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ..#...#...#...#...#...#...#...#...X...#...#...#...#...#...X...#...#...#...#...#...#...#...#...#.....
output:
2682 139 8 PGGGGGGGGGGGGGGGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGPPGPGGPGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGPPDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD...
result:
ok
Test #75:
score: 0
Accepted
time: 8ms
memory: 4936kb
input:
200 ##..X.#......#...X.#.#.#.#.X.#XXXX#.....X...#....X.#...#......#.#....X#.#.X..#XX#....#..X##..###.#..#X..#..........X#...X#....#...#.##...#X.##.#...#..#..#..X###.#.#.X.....X...X..XX...X.......#X#.##... ..#...X#..X.....#X.X##..##.#.##X#X.#.X.#..X....#.X...#X.....#.....#.X.#...#......X...##.X#...#X...
output:
18 65 95 LGLGGGGGGGGGLLLLLL
result:
ok
Subtask #4:
score: 40
Accepted
Dependency #1:
100%
Accepted
Dependency #2:
100%
Accepted
Dependency #3:
100%
Accepted
Test #76:
score: 40
Accepted
time: 174ms
memory: 38896kb
input:
1000 .#.X#.........X#........X.#X.X..XX...##...............####X..#..#.X....#X.........#..X.#X...##.#.X#....X#....#X#........#.#.X...X......XX.............#.X..........#X#..#.#..#XX..XX...............#..#...##.#...XX......#..#.........X.....#.................#.....#.#.X.....X...X#.#....X.......###.#...
output:
961 104 304 PGGPPGGPGGPPGPGGGPPGPGPPPGPGGGGPGPPGGGGGGGPGPPGGGPPGGGPGGPGGPGPPGGGGPPPPGGGGGGGGPPGGGGGPPPPPPGPPGGGGPPPPGPGGGGGGGGGGPGGPGGGGGPGGLGGPGGPPGPPGGPPGGGGGPGGGGGGGGGGGGGGLGGPGGGGGGGGGGPGPGGGGPGPGGGGPPGGPGPPPPPGGPPPPGGPPPGPGGGGGPPPGGGGPPGGGGGPGGGGGLGGPPGGGGGGGGPGGGGGGGPGPGGGGPGPGGGPPPGPPPGPGGPPP...
result:
ok
Test #77:
score: 0
Accepted
time: 154ms
memory: 38844kb
input:
1000 X.....#.X..X.#X..#..###.#.X....#.#.....#..X#..X#..#...............X...##...#.....XX..#..#....###...#.#X................XX#...#.....#X....X........#.....#X...#..........#....####....#..#....X.#.#.X.....X...#.X##....#.#X.....X..X##X...#.#.X..XX.#.#X.......#.X......#..#X.X...##.X..X.....#.......X....
output:
774 183 740 DPPDDDPDPPGPPPDPPPPDPDDDDPPDDPDDDDDDLLDDPDDDPPDPDPDDPPDDDDDDDDDDLDDDLDDDPDDDPDDPDDDDDDDDDDDDDDDDDDDLDDDLDDDDDPPDDDDDDPPDDDDDDLLLDDDDDLLLDDDDDDLDLLLDDDDDPPDDDPPDDPDPDDPDDDDDDDDDDDDDDDDDLLLDLDDPPPDDDDDDDDDDDDDDDDDDPDDLDDDDDDDDDPDDDDLDLDDDPDPPPDDPPDPDDDLDLLLLDDLLDDDDDDDDDDLLDDDDDPPDDDDDDDDD...
result:
ok
Test #78:
score: 0
Accepted
time: 132ms
memory: 38892kb
input:
1000 X..#..X#...X.X....X.#X..##.#....X..#X.#.X##.........#.X#........##.##X..#.X...#.#X.#.X.....X..#.##.....#.#..#XX...#..#X.##.....#...##..#.##.X.#.X##.......#.#...##..#..X#.#.....X#..X.#X.#X..#.....#...#.##.#X...#..#...#X#..X##..#.##....##.XX...#..#..#...#.XX###...###X..#.....X..#..X.X..#..#X.X.X#...
output:
665 692 679 DLLLLGLLLDLLLLDDDLDDDDDDDDDDDLLLDDLLLGLGGGLGLGGGGGLGLLLGGLLLLGGLGLLGGGLLLLLLLLDLLLDLLLLLLDLLLGLGGLLGGLGGGGLGGLLGGGLLLDLDDDDDDLLLLDDDDPDDLDDLDDDDDDDLLLLDDLDDPPDDDDDDDDDDDLDDDLLDDLLGLGLLLLGGLLLGGGGLGLLGGPGGPGGGLLLLLGGGLGLLLLLGLLLLLGGLGLLGGGLLLGLLLLGLLGGLLLLLLLLLLDLLLLLGGLGLLLGGLLLLLDDDLDDL...
result:
ok
Test #79:
score: 0
Accepted
time: 384ms
memory: 38812kb
input:
1000 #....#.##...#.......##.###.#.#.#..#.........###...#..##..#.X##.##.###.#####..#....X.#..X..#.####.#..#....##X#.#...#.##.#..#.##..####...X...X.X.##...###..#X#.##.#..##...#.#.....##.X.......##.#............##.......#...........#.###..X##.#.....X.##..#.##..##...#.#....###..###..##.......#...##.#.X....
output:
2713 866 866 PGPPGGPPPPDDPPPPDPPDDDDDPDDDPDDPDDDLDDDDLDDDDDDDDDLLDDDDDLLDDDDDLLLLLDDPDDLDLLGLLLLLLLLLLLLLLLLLDDDLDLDDDDLLLLGGGGGGGLLLLLLLDDLLDDLDLLLLLDLLLGLLLLLLDLLLLLLLDLLDDDDLLDDDLLLLDDDLLGLLDDLLLLLLLLLLLLLDDDDDPDPDDDLDDLLDLLLLLLLDLLDLLLLGGLLDLDDDPDDDDDDDDLLDLLDLLLLLLLLLLLLGGLGLLLGLLLLGLLLLLLDLLGL...
result:
ok
Test #80:
score: 0
Accepted
time: 188ms
memory: 38844kb
input:
1000 ...#.#..#..##....#......X.....###....##..X.#...#.......###X##...#.X#.......#...#..X.....#.....###.#....#X.X#X#X#.....#..#..##.X.#....###...X...#...#.#.#.##.#.##..........#.#.#..X..X..XX.X#.....##...#.X....#.#...#.X..#.......#.....#...#.........###.X.#..#.#X..###..#X.......X...#.##......#.X##.##...
output:
1266 656 522 DDLDDLLLLLLLDLLDLLLDLDLDLLDLDDLLLDLLLLLLLLDDDDDDLLLDDDDDDLLDLDLLLLLDLLLLLDDLLDDDDDDDDDDDLLLLLDLLLGGGLLDLLGLLDLLDDDDDDDLDDLDDDLDLDDDDDDDLDDDDDDPDDLDDDPDDLLDDDLLLLLDDDDDLLLDDDDDDLLLLGGLGLLLLDLLLLLLDLLGGGLLLLGLLLLLLDDLLLLDLLLDDLLLDDDLLDDDLLLDDLLLLLDLLLLLLLLDDDDLDDLLLLDLLGLLLDLLLDDDLLLDDDDL...
result:
ok
Test #81:
score: 0
Accepted
time: 135ms
memory: 38780kb
input:
1000 X....#XX....#.#XX.XX.#X.#XX..#X..X.....#.XX##...X...X...X#......X...#X..XX..X.X..X..#X.X......X#X...X#...X.#.X.#.X.X#.XX.X.#...X.X..X.....#X#X.X#.#X...X...............#.###.#.#.X#X#X..#XX.#.#.X.....X.X............X.#..#.#.....X##.XXX.XX.X..##........X....X....X.X..X.........X#......#.#.##...##X...
output:
996 695 669 DDDLLLDLLLGLLLLLLLLLLLLGLLLLLLGGLLGGGGGLLLLGGGGGGGGGGLGGLGLLGGGGGLGGLLLLLLLLLLDDLLLLLLLLLLLLLLLLLLLLLLLLLDLDDLLLGLLLLLLLLLLLLLLGLGLLLGGGPGGLGGGLGGGGGGLLLLGLLGGGLLLLGGGGGGGLGLGGLLLLLGLGLGGGLLLGLGGGLLGGGGLLGLLGGGGLGLLLDLLLGLGGLGGGGGGPPGGGPGGGGGLGGLGGGGGGLLLGGGGGLGLGLGGGGLLDLLLLGLLLLGGLLLGL...
result:
ok
Test #82:
score: 0
Accepted
time: 153ms
memory: 38812kb
input:
1000 XX..#X.......#..X.X#X....#.X....XXX..X#......X#...X..X....X.#.##...#..XXX#XX...X.#.#..XX..#.X..XX.....X...X.#XX..#.............X...#......X.XX....X..X.X.......X..XX.X.X..XXXXX.XX..X.#X.#X.#.XX..X.......X#..........XX.X..#XXX.X...#.......##.#X..X..X.X.#X.......XX....X.X#X#..XX#....XX...#X..#X.##...
output:
1016 316 609 DLLLGLLLLLLGLGGLLLLGLLLLLLDLLLLLDLLDDDLLLLDDDLLLDLDDDLLLLLDDLLLLLLDLDLDDLLLLLLDDDDLDDDLDLLLLDLDLLDLDLLDDDDDDDDDDDDDLLLDLLLLLLLLDDLLDLDLLDDDDLLDLDLDDLLLLDDLLLLGLLLLLGLLLLLLLLLLLDLDLLLGGGLLLLDLDDLLLLDDDLDDDDDDLLLLLLLLLLLLLLLLLDDDDLLLLLLLLDDLLLDLLGLLGLLLLLLLGLLGGLLLLLDDDDLLLLLLGLLLGLGLLDDD...
result:
ok
Test #83:
score: 0
Accepted
time: 42ms
memory: 38940kb
input:
1000 PXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...
output:
1001 2 1 DPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok
Test #84:
score: 0
Accepted
time: 111ms
memory: 36308kb
input:
969 X.XX##.#..X.X.##X.XX.X.#..XXX#X#X#X#.##X..#.X.X##XXXXXXX##X#X.X.##..X.X.#.XXX#XX###X#.X#.#X###X...XXXXX..X.#X...##XXX.#.XX.XX..##XX#.#X.#.##X...##..##X#.X.X#X#XX#XXX.XX##.X..#...#X..X.#.X##.X#..#X#..XX#XXX#X#X.#X..####.X#X##...X.#X#X#.X###..X#.X..X###...#.#XXX#.X#.X..#XX.XX...XX..X##X#####XX.#.....
output:
1928 946 16 PPGGPGGGPPPGPPPGGGGGGGGGGPPPPGGGGGGGGGPPGGGPGGPPPPPPPPPPPPPPGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPGPPPGGGGGGGGGGGGGPGPPPPPPPGGGPPPPPPPPGGPPPGGGGGGGGGGGGGGGPPPPGGPPPPPPPPPPPPPGPPPPPPPPPPPPPPPPPPGGPPPGGGGGGGGGGGPPPPGPPGGPPGGPPPPPPPPGGPPPGGGGGGGGGGGGGGGGGPPPPPPPPPPPPPPGGG...
result:
ok
Test #85:
score: 0
Accepted
time: 194ms
memory: 35644kb
input:
957 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...
output:
34718 321 830 DDDPDDDDLDDDDDDLLDDDDDDDDDDDDLDDLDDDDDDDDDLLDDDDDDDDDDDPDDDDDDDDDDDDLDDDDDDDDDDDDDDDDPDDDDDDDDDDDPPDDLDDDDDDDDDDDPDDDPDPPDDDDDDLDDPDDDDDDDLDDLDDDDDDDDDLLDDDPDDDDDDDDDDDPDPDDPDDDDDDDDDDDLLDDDDDDDDDDDDDDDDDDDDDLDDDDLDDDDDDDDLDDDDDLLLDDDDDDDDDDDDDDDDDDDDDDDDDLDDDDDDDDDDDDDPDDDDDDDDDDPPPDD...
result:
ok
Test #86:
score: 0
Accepted
time: 757ms
memory: 36472kb
input:
969 XXXXXXXXXXXXXXXXXX..XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...
output:
49339 615 615 DDDLLLLLLLLLLLLLLLLLDLLLLDDDDDDDDDDPPPPPPPPPPPGGPPPPPPPPPPPPPPPPGPPPGPGGGGPGGGGGGGGGGGGGGGGGPGGGGGGGLLLLLLLLLLLGLLLLLLGLLLLLLLLDDDDLLLLLLLLLLLLLLLLLLLDDLLLLLDDDDDDDDDPDDDDLDDDDDDDDDDDDDDDDDDDDDDDDDLLDDDDPDPPPPPPDPPPPPPPPPPPPPPPPPPDPPPPPPPPPPPPPPPPPPPPGPPPPPPPPPPPPPPPPPPDPPPPGGGGPPPGGGG...
result:
ok
Test #87:
score: 0
Accepted
time: 201ms
memory: 36432kb
input:
969 X.#X#X.##..XX#X.X.....#XX##X##X..#.###......X.#X#.#..X#XX.XX#.XX#.X..#X#X##X#XX..X##X####.#X#X#.X#X##XX.#.X#XX#.#XX#X.X.#...##..##.###X#.X..#.X#.X#..#..#.#.#...###..#XX..#.XX...##XX##...#X#.#.X#XX.#...X#X##.#..X#.X#....#X#XX.####...X.#.X....XX.X##X.#.X#X#.XX#.####XX#XX..X.#XX##XXXX.X.#X###XX.......
output:
NIE
result:
ok NIE
Test #88:
score: 0
Accepted
time: 319ms
memory: 36512kb
input:
969 .#.X...##X#.X#X##.X##XX#.X#X###..#.X.#X#X##.X##.XXX.X...#X##.#X##X####.X##...##.#X.##X.X.XX##..XX.#X.XXXXXX#.X.#..#X###X#.##X..###XXX.X#X##XX...X##XX#.#.X.X.XX.X..X.XX.XX##.X..XXX.#XX.#..#X.XXXXX.#.X.#XX##X#.#.##.X.##X###XX.X#XX#.X.#X.#X#...X#.#.#X..X#.#X.X.#X###XX#.#XX..#XX#XX#X#.#X#.XXX#X#..##...
output:
NIE
result:
ok NIE
Test #89:
score: 0
Accepted
time: 318ms
memory: 35780kb
input:
961 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...
output:
31320 946 17 GGLLGLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...
result:
ok
Test #90:
score: 0
Accepted
time: 458ms
memory: 35940kb
input:
961 #XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...
output:
34666 21 636 DDDDDDDPPDDPPPPDDPPDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDLDDDDDPPPDDPPDDPPDDDDPPDDLDDLLLLLLDDDDDDDDLLDDPDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDLDDDDDDDLLLLLLDDLDDDDDDDDDDDDDD...
result:
ok
Test #91:
score: 0
Accepted
time: 230ms
memory: 35952kb
input:
961 .XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...
output:
35766 462 109 GGGGGGGGPGGGGGGGGPGGPGGPPGGGGPGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGLGGPPGGGGGGPPPGGPGGGGGGGGPGGLLLGGPGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGLGGLLLGGGGLLLLGGGGGGPGGLGGGGGGGGPGGGGPGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGLGGGPGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGPPPP...
result:
ok
Test #92:
score: 0
Accepted
time: 167ms
memory: 35984kb
input:
961 .X.#X.XX#.XX#XXX##X#X.X######.XX.X#X#.#.X.X#X...X.##.#.X##....X#XX.#.XX.X.X#.##.....X.X.##..#XXXX#.#XX#X...XX##XX....X...XX..#X.#X..#.###.#XX#X..XX####.#X...XX#X..X.XX.#.X#X.X.#.X#X..##X#X.#X..X.#.#X#..X.#X#X#.###XX#XX#.##.####X#XX.#X.X.X...#.#X#.X#XX#..#.##X###..X#XX#.X##XX.X#.X#.X.XX##.##..#.....
output:
1900 43 42 DDDDDDPDDDDDDDPPPPPPDDDDDDDPPPPDDDPPPPDDDDDDDDPPDPPDPPPPPPPPPPPPPPPPPPDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDPDDPDDPPDDPPPDDDDDDDPPDPPDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDPPPPDDDDDDDDDPPDDDPPPPPDDDPPDDPPPPDDPPPDDDDDDPPPPPPPPPPPPPPDDDLDDDDDDDDDDDDDDDDDDDDDDDDDDDDDPDDPPPPPDDDDPPPPPPPPPPPPDDDDDD...
result:
ok
Test #93:
score: 0
Accepted
time: 204ms
memory: 36520kb
input:
969 .X#.#...#X.##.#X#XX#..#XX.####.####.##X#X#XXX.X.X.X.#.##XX#XX###..XXXX.X.##X..X.##XX.X.X###X.#.#X####X###X.X..X#.X.X.X.X#XXXX##XXXXXX#.##X..XX..#X##.X.#XXX.X.X#..#XXX#XXXX.##XX###.#XX.#.X#.X.#X.X.#..XXX.##.XX..#.##.#XX#XX..X.X##.X#.X###.X#.X.XX#.#X.#.##X.X.#..X.#X.##.XX...X.XXX#.#####..X#.XXXX#....
output:
201867 274 952 LLLLLGGLGGLLLLLLLLLLLLLLLLLLGLLLGGGGGLLDDDDDDDDDDDDDDDDLLGGGGGGGGGGGGGGGGLLDDDDDDDDDDDDDDDDLLGGGGGGGGGGGGGGGGLLDDDDDDDDDDDDDDDDLLGGGGGGGGGGGGGGGGLLDDDDDDDDDDDDDDDDLLGGGGGGGGGGLLLLLLLLLLLLLLLLLLLGGLLLGGGGLLDDDDDDDDDDDDDDDDLLGGGGGGGGGGGGGGGGLLDDDDDDDDDDDDDDDDLLGGGGGGGGGGGGGGGGLLDDDDDDDD...
result:
ok
Test #94:
score: 0
Accepted
time: 534ms
memory: 36520kb
input:
969 X#X#X##XX.X..XXX#..X#XXX#XXXXXX#X#X.XX.#X.X#.#X.####..#.#XX.XX..X.XX#XXXX#.#XX.X###X#.XX..#.X..#.XX.#..X..#X....X...X.##..X#..#..XX#XXX.X##.#..X.#.X.X..XX.X#.XX.X..#.##X.###.##..XX.#..X.#.#..#.#....#.##X###.X###X...X.X###X##XX#.X##.X#X.#.#XXXXX#.....##.XX.X#X....#X..XX.#XX#########..#.XX.X#.XXXX...
output:
193243 258 921 LDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDLLGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGLLDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDLLGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGLLDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDLDLLLGLLGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG...
result:
ok
Test #95:
score: 0
Accepted
time: 152ms
memory: 36836kb
input:
975 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...
output:
227680 257 709 PPPPPPPPPPPPPPPPPPPPPPPPPPDDPPDDDDDDDDDDDDDDDDDDPPGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGPPDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDPPGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGPPDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDPPGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGPPDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDPPGGGGGGG...
result:
ok
Test #96:
score: 0
Accepted
time: 191ms
memory: 38052kb
input:
989 ####X#X..#X...XX#X#..#.X#.#.X.##..##X#.XX##...X##XX####..X#..XXX#.X#XXX##..####....X....##.###..#X#.XXXXX###.XX...#.#...X#X#####X.#.X#X#X##.X#.X##X##..X.XXX.X.X..XXX.#XX..X##X.X#.#XX...XX##..XX##XX#.X###X.#####X##XXXXX#XX.XX.##X..X.X#.#X.#.###XX...##.#...#X#.##X#XX#X#X#X##.#..X#XX#.XXXXX##..#XXX...
output:
3287 579 69 DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDLLLLGLLGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGLLDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDLLGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGLLDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDLLGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGLLDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDL...
result:
ok
Test #97:
score: 0
Accepted
time: 103ms
memory: 35952kb
input:
961 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...
output:
204727 510 1 GPPPPPPPPPPPPPPPPPPPPPPPPPPGGLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPGGLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPGGLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPGGLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGGGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPGGLLLLLLLLLLLLLLL...
result:
ok
Test #98:
score: 0
Accepted
time: 205ms
memory: 35964kb
input:
961 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...
output:
97435 329 624 GGPGGGGGPPPPGPGGPPPGPGGPPPPPPGGPPPPGPPPGGGLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDLDLDDDDDDDDDDDDLDDDDDDDDLDDDDDPDPDDDDDDDDDPDDDDDDDDDDPPPDDPPDPDDPDPPPPPDPDDPPDDPPPPPPPPPDPPPPPPDDPDPPPPGGGGGGGGGGGGGGGGGGGGGGGGGGGGPPDDDDDDDDDDDDDDDDDDDDDDDDDDDDPPGGGGGGGGGGGGGGGGGGGGGGGGGGGGPPDDDDDDDDDDDDDDDDDD...
result:
ok
Test #99:
score: 0
Accepted
time: 136ms
memory: 35908kb
input:
961 .#XX#..#..X..#.#XX##.X.#...X.#X#.X.X.#XX#X..###X.#XX##..X#.#X.##.X#X....#X#...##X#.#X.X#...X##.X.###X###XX.X...XX.X.#.XX.XXX.#....##.#X..X#...X..#.#...#XX#.X#.##.##X..#X#.#..XXX.#XX#.X..#X#.X...X#..XX#.#XX#....XX.##XXX.#.#..X.X###XXX..X####X#.#XXX#XX.XX......##.##XXX##.#X.#.#XXXX.X.XX#...X..#XXX...
output:
2921 33 946 LLLLLLLLGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPGGLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGPPPPPPPPGGGPPPPPPPPPPPPPPPPPPPPGGLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPGGLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPGGLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPGGLLLLL...
result:
ok
Test #100:
score: 0
Accepted
time: 387ms
memory: 38812kb
input:
999 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...
output:
5664 294 856 PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok
Extra Test:
score: 0
Extra Test Passed