QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#536798 | #5514. Maze | egypt_ioi2024_05# | 46 | 1716ms | 17484kb | C++20 | 1.8kb | 2024-08-29 16:53:30 | 2024-08-29 16:53:30 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Subtask #1:
score: 8
Accepted
Test #1:
score: 8
Accepted
time: 0ms
memory: 3856kb
input:
31 32 1 25 22 5 3 ################################ ################################ .############################### .############################### ##..###############.############ ###.###############.############ #####.########################## ###.#.########################## ###.##############...
output:
26
result:
ok single line: '26'
Test #2:
score: 8
Accepted
time: 0ms
memory: 3664kb
input:
31 32 1 31 5 18 30 ................................ ..........................#..... ................................ .................#.............. ................................ ................................ ....#........................... ................................ ....................
output:
0
result:
ok single line: '0'
Test #3:
score: 8
Accepted
time: 0ms
memory: 3628kb
input:
31 32 1 7 10 1 32 .#...#.####...#.####..###..####. .#.##.#..#.###.#.#####.#..#..##. .#.#######.########..#.#....#.#. ####.##########.####.#..###...## ####.##....####.####..####.##.## ##.###..#####..#.###..#.##.#.#.# ####.###...##.........###.#.#### .##..##.##.######....##.#####.## ####.#.###.##.#......
output:
5
result:
ok single line: '5'
Test #4:
score: 8
Accepted
time: 0ms
memory: 3636kb
input:
31 32 1 18 18 1 18 #################.############## ################################ ################################ ################################ ################################ ################################ ###############.################ ################################ #################...
output:
15
result:
ok single line: '15'
Test #5:
score: 8
Accepted
time: 0ms
memory: 3524kb
input:
1 1000 1 1 597 1 432 ..........................................................#..........................................................................................................................................#................................................................#...................
output:
0
result:
ok single line: '0'
Test #6:
score: 8
Accepted
time: 0ms
memory: 3628kb
input:
1 1000 1 1 354 1 826 #############################################################.#########################################################################################################################################################################################################################...
output:
463
result:
ok single line: '463'
Test #7:
score: 8
Accepted
time: 0ms
memory: 3612kb
input:
1 4 1 1 4 1 3 #...
output:
0
result:
ok single line: '0'
Test #8:
score: 8
Accepted
time: 0ms
memory: 3616kb
input:
1 45 1 1 8 1 20 #######.####.#####..#####################.###
output:
9
result:
ok single line: '9'
Test #9:
score: 8
Accepted
time: 0ms
memory: 3784kb
input:
3 13 1 1 5 2 3 .....##.....# .#....##.##.. ......#......
output:
0
result:
ok single line: '0'
Test #10:
score: 8
Accepted
time: 0ms
memory: 3624kb
input:
1 2 1 1 1 1 2 ..
output:
0
result:
ok single line: '0'
Test #11:
score: 8
Accepted
time: 0ms
memory: 3612kb
input:
1 148 1 1 91 1 89 .####.#.###...#..####..####.###..#...#.##.#####.######.#.#....#...####..##.#.#.##...##...#.##.#.#####.#####...#.#.###.#.#...##...###..#...##..##.###
output:
1
result:
ok single line: '1'
Test #12:
score: 8
Accepted
time: 0ms
memory: 3608kb
input:
2 84 1 1 11 1 62 .#..#.##.#.#.##.#.##.#.#...######.#.###...##.#####....##.##.#..###.###.##...##.#...# .#....##.#.#..#...#....##..###..#.##.#...###.#.#.###...##.#....#...##.#..####.#.###.
output:
20
result:
ok single line: '20'
Test #13:
score: 8
Accepted
time: 0ms
memory: 3568kb
input:
1 59 1 1 6 1 20 #.###.########.###..##.####.###.##.##########.########..#.#
output:
11
result:
ok single line: '11'
Test #14:
score: 8
Accepted
time: 0ms
memory: 3628kb
input:
31 32 1 31 5 18 30 ................................ ..#...####.######..##.#.####.##. ..#.#.####.#####.##..######..#.. .##.####.#.#.#...##.##########.. ..#...###.#####...####.#####.##. .#..###....#.#.#.##..###.#..#.#. .#.###..###.###.#####.#.#######. ..#...#.####.########...#..####. ..#..#.##...........
output:
0
result:
ok single line: '0'
Test #15:
score: 8
Accepted
time: 0ms
memory: 3624kb
input:
31 32 1 17 32 11 7 ................................ .#.##.#..#.###.#######.#.###.##. .#.#######.#########.#.#....#.#. .###.##########.####.#..###.#.#. .######.#..##########.####.##.#. .#.###..######.#.###..#.##.#.#.. .###.###.#.##........######.###. .##.###.##.######....##.#####.#. .#####.###.####.....
output:
2
result:
ok single line: '2'
Test #16:
score: 8
Accepted
time: 0ms
memory: 3860kb
input:
31 32 1 7 11 13 25 ................................ .##############################. .##############################. .##############################. .##############################. .##############################. .#########.####.###############. .##############################. .################...
output:
11
result:
ok single line: '11'
Test #17:
score: 8
Accepted
time: 5ms
memory: 3948kb
input:
244 245 1 226 133 105 7 .####.##################################################.###.#############.########.#######.#########################################.################.####.#################.######################################.###########.######.#####.######. .####.######.#####.#####.#####...
output:
163
result:
ok single line: '163'
Test #18:
score: 8
Accepted
time: 3ms
memory: 3868kb
input:
1 46212 1 1 39597 1 10273 #########################################.########################.##############################################################################################.##################.########.####################.##########################################.####################...
output:
28589
result:
ok single line: '28589'
Test #19:
score: 8
Accepted
time: 5ms
memory: 4132kb
input:
244 245 1 226 133 105 7 ..................................................#...............................................................................................#........................................................#......................................... .................................
output:
0
result:
ok single line: '0'
Test #20:
score: 8
Accepted
time: 6ms
memory: 3956kb
input:
244 245 1 214 117 83 245 .##..#.###.##.#.###.#..#####....#..##.##..##.##.#.###.#.##.####.###.....#.#...###.#.###..##.#.##.####..##..#..##....#.###.##.#########.#.#.##.##.#.####.##.##.##.#.##.##..##.##.#..#.#...##..##..#..#..#..####.#.###.##.#..#.#####....##.##.##.#.##.. #.###.##.#..###...###########...
output:
45
result:
ok single line: '45'
Test #21:
score: 8
Accepted
time: 5ms
memory: 3828kb
input:
244 245 1 15 226 207 34 ########################################################################################################################################################################.############################################################################ ##############################...
output:
340
result:
ok single line: '340'
Test #22:
score: 8
Accepted
time: 4ms
memory: 3732kb
input:
1 60000 1 1 59085 1 9263 .........................................................................................................................................................................................................................................................#............................
output:
496
result:
ok single line: '496'
Test #23:
score: 8
Accepted
time: 4ms
memory: 3932kb
input:
1 60000 1 1 57861 1 18234 ##################.###########.##################.###################################################################.#################.#####.##########################################################################.###########################.#########.##################....
output:
39210
result:
ok single line: '39210'
Test #24:
score: 8
Accepted
time: 6ms
memory: 3980kb
input:
244 245 1 226 133 105 7 ..................................................................................................................................................................................................................................................... ..#...#.#..####..####.......##...
output:
2
result:
ok single line: '2'
Test #25:
score: 8
Accepted
time: 6ms
memory: 4192kb
input:
244 245 1 214 117 83 245 ..................................................................................................................................................................................................................................................... ..###.##.#..###...###########...
output:
8
result:
ok single line: '8'
Test #26:
score: 8
Accepted
time: 5ms
memory: 3964kb
input:
244 245 1 15 226 207 34 ..................................................................................................................................................................................................................................................... .#############################...
output:
44
result:
ok single line: '44'
Test #27:
score: 8
Accepted
time: 12ms
memory: 4624kb
input:
387 387 1 335 36 90 357 ##########.##########.#######.#########.####.##########################.#################.##############################################################.######################.###################.##.###########.#####################.############.##################.#.#########...
output:
384
result:
ok single line: '384'
Test #28:
score: 8
Accepted
time: 5ms
memory: 3736kb
input:
2 30695 1 1 15156 1 6032 #..####.##..##..##.##.##..######.##.#.###.###########...####.#.###.#.###.#..###.#.###....###.#####..#...##.##.######.####.#######.######..#...#.#.##....##.##.#..#.#######.#.####.#.#####.##......###.#.#...#..#####.#.###.#####.############..###.#.#####.#...#.##...#..#.###..##....
output:
4487
result:
ok single line: '4487'
Test #29:
score: 8
Accepted
time: 11ms
memory: 5060kb
input:
387 387 1 55 282 267 35 .......................................................................................................................................................................................................................................................................................
output:
0
result:
ok single line: '0'
Test #30:
score: 8
Accepted
time: 10ms
memory: 4432kb
input:
387 387 1 287 270 56 102 #.#####.###..#..#.##..######...####..####.###..####.....#######.##..##..#.###.#..#..##.##.#...#.#.#.#.####.##...#.##..#.#.#..####.##.##.###......#.####..#####.####..##.#.#.#####..####.####.###.###..#.....#######.###.###.##..#.##..#...###..############.#.###.#..##.##..####.##...
output:
66
result:
ok single line: '66'
Test #31:
score: 8
Accepted
time: 11ms
memory: 4308kb
input:
387 387 1 182 105 119 379 ##########################.######################################################################################################################################################################################################.################################################...
output:
312
result:
ok single line: '312'
Test #32:
score: 8
Accepted
time: 10ms
memory: 4528kb
input:
1 150000 1 1 113832 1 2038 .............................................................................#......................................................................................................................................................................................................
output:
1092
result:
ok single line: '1092'
Test #33:
score: 8
Accepted
time: 10ms
memory: 4512kb
input:
1 150000 1 1 6957 1 130571 ####.##########################################################################.################################################################################.################################################.###############################################################...
output:
122389
result:
ok single line: '122389'
Test #34:
score: 8
Accepted
time: 14ms
memory: 4412kb
input:
387 387 1 55 282 267 35 .......................................................................................................................................................................................................................................................................................
output:
11
result:
ok single line: '11'
Test #35:
score: 8
Accepted
time: 14ms
memory: 4456kb
input:
387 387 1 287 270 56 102 ......................................................................................................................................................................................................................................................................................
output:
35
result:
ok single line: '35'
Test #36:
score: 8
Accepted
time: 11ms
memory: 4676kb
input:
387 387 1 369 107 192 382 .....................................................................................................................................................................................................................................................................................
output:
21
result:
ok single line: '21'
Test #37:
score: 8
Accepted
time: 114ms
memory: 11312kb
input:
1224 1225 1 106 825 1167 186 ##################################.#######.##..##.#.####.############.######.################.###################.#########.###########################.#####.####################.###############################.#######################.#######.########################.###...
output:
1112
result:
ok single line: '1112'
Test #38:
score: 8
Accepted
time: 16ms
memory: 4184kb
input:
16 10623 1 16 1171 14 2438 ###.#....#.##..#.#.#.#.##.#.#..#.###..###.#..#...##..#.###..#...##.####.#......##...#..#..###...#..#####.#..##.#.###.#...#.##..#####.#######.....#.....#######.##.#....#.#...###..##..####.####.#.###.#####.#.##.###...#.....##.###.#.#.......#.###.##.#.###########.##.......##....
output:
185
result:
ok single line: '185'
Test #39:
score: 8
Accepted
time: 13ms
memory: 4884kb
input:
1 184339 1 1 58622 1 95339 .....#.....#.##.#.....#................#.....#.....#.#........#......................##.......#..#.....#....#.....##......#.................#............##.#....#..##......#...#.............#.......##.#............#.#....#....#...#...#..##.#...................#..#....##..#...
output:
5653
result:
ok single line: '5653'
Test #40:
score: 8
Accepted
time: 18ms
memory: 4964kb
input:
185 1158 1 170 697 18 48 #########.########.###.####.##########.################.#.##.#######.##.##.########.#.#############.####..###.##.####.###..###.####.#################.##..#######.#.###..#.#####..#.#.##.#.####.#.###########.####.###################..#####.############.###.#####.###..######..#...
output:
453
result:
ok single line: '453'
Test #41:
score: 8
Accepted
time: 18ms
memory: 4908kb
input:
2 121141 1 1 84070 2 47224 ########.#.######.#.#####.##.###.##.####.#...####..#...#.#####.##.###.#.#######.##.##.######.###.#####.#####.####...#..#####.###########.####...#.########..##..####.###.###.####.###.#.###..####..###.##.####.##.#######.#..######.#.#....###.##.##.###.####...#.#.#.##.##.###.#...
output:
23385
result:
ok single line: '23385'
Test #42:
score: 8
Accepted
time: 66ms
memory: 7480kb
input:
6 123737 1 3 116020 4 86192 ...#..#..#.............#.#.##.##...#..#...#...#...........#..#...#......##......#.#...#..#.##..#####..........#.#.....#.#.####......#....#.....##.##.####...........#.#.##..###.....#.#.#...#.#..#..#.#.#..#..#....#..#.......#...#...#...#.#.##..#..#..##......#..#...#...#.......
output:
1725
result:
ok single line: '1725'
Test #43:
score: 8
Accepted
time: 63ms
memory: 7760kb
input:
5 160357 1 1 41933 1 68874 ##########.###.##.#.#####..#.#####.###..##.#############################.#############.##.#####.##########.##########.###.############..########.#####.#.######.###..####.####.##########.#####.###.##########..#.#######.##.###.#..#.###############.##############.###.###..###...
output:
20843
result:
ok single line: '20843'
Test #44:
score: 8
Accepted
time: 98ms
memory: 17484kb
input:
1224 1225 1 520 1165 390 755 .............................#....................................................................................................................................................................................................................................................
output:
0
result:
ok single line: '0'
Test #45:
score: 8
Accepted
time: 136ms
memory: 11328kb
input:
1224 1225 1 1155 1123 435 159 ###....#.#.##.##.####.##.###.##########.##.####.#.#..##.##..#..####...#..#.....#####....####.###.#####...#..#..#....###.#....#....#.##.#.....##...##.#...##...####.####..#.#####.##..#.##.##.#.###.#..##.##.##..###.##..#.....#############.#####.#.##...##.#.####.#########.#...
output:
276
result:
ok single line: '276'
Test #46:
score: 8
Accepted
time: 102ms
memory: 11556kb
input:
1224 1225 1 533 1130 900 376 ############################################################.###############################.########################.######################################################################.###############################################################.##################...
output:
1015
result:
ok single line: '1015'
Test #47:
score: 8
Accepted
time: 91ms
memory: 16648kb
input:
1 1500000 1 1 32769 1 947728 .................................................................................................................................................#................................................................................................................................
output:
9041
result:
ok single line: '9041'
Test #48:
score: 8
Accepted
time: 93ms
memory: 16644kb
input:
1 1500000 1 1 1314999 1 652665 ##########################################################################################.###################################################.#############################################################################################.################################...
output:
655757
result:
ok single line: '655757'
Test #49:
score: 8
Accepted
time: 130ms
memory: 11480kb
input:
1224 1225 1 969 785 150 464 ...................................................................................................................................................................................................................................................................................
output:
37
result:
ok single line: '37'
Test #50:
score: 8
Accepted
time: 137ms
memory: 11368kb
input:
1224 1225 1 1155 1123 435 159 .................................................................................................................................................................................................................................................................................
output:
49
result:
ok single line: '49'
Test #51:
score: 8
Accepted
time: 114ms
memory: 11340kb
input:
1224 1225 1 533 1130 900 376 ..................................................................................................................................................................................................................................................................................
output:
407
result:
ok single line: '407'
Subtask #2:
score: 19
Accepted
Test #52:
score: 19
Accepted
time: 0ms
memory: 3612kb
input:
3 6 2 2 1 3 3 ...### ..##.. #..###
output:
0
result:
ok single line: '0'
Test #53:
score: 19
Accepted
time: 0ms
memory: 3848kb
input:
4 24 4 3 4 3 3 ..#...##.#...###...###.# .##.#..##.##.##..#.####. #.......#.#.#...#.#####. ######....######.#...#.#
output:
0
result:
ok single line: '0'
Test #54:
score: 19
Accepted
time: 0ms
memory: 3592kb
input:
2 136 2 1 133 2 45 #############################################.##################.#.#######.##############.#################.##############.##.######.### ####.########.###############.####.###..####.#.###.#################.##..##############.###.############################################
output:
41
result:
ok single line: '41'
Test #55:
score: 19
Accepted
time: 10ms
memory: 3876kb
input:
31 32 31 6 13 22 29 ................................ ................................ ..............................## ......#......................... ................................ ................................ ............#................... ................................ ...................
output:
0
result:
ok single line: '0'
Test #56:
score: 19
Accepted
time: 10ms
memory: 3628kb
input:
31 32 31 17 32 22 6 ...##.#...#...###.##.#.##.###.## ###...#.#..#..#.#.##..##.####### ###.#.#.###.######.#.#..###..### ..#.#.##....#.#.###.########.... ####.#.#.#############.###.#.### #..###.#######.##.#.###.##.####. #####.###..###...##.###..##...#. .##.#.###..####...#####..#..#.## .....####.#....#...
output:
1
result:
ok single line: '1'
Test #57:
score: 19
Accepted
time: 6ms
memory: 3632kb
input:
31 32 31 31 1 28 28 ################################ ##########################.##### #.####################.######### ################################ ################################ .############################### ################################ ################################ ################...
output:
1
result:
ok single line: '1'
Test #58:
score: 19
Accepted
time: 0ms
memory: 3600kb
input:
2 500 2 2 127 2 384 #..##..#####...##...##.#...#..#.##...###.##.###.##..##.#.####.#..##...#######.##.###.#####..#..####.#####...#....##..######.##....####..####..##.....####..#..##.#.####...#.##.##.##..######..#.##.#.##..#######..#.###.##.#.####.#.#..#.#..#...#########.###.#.##.###.##.#...##....###....
output:
76
result:
ok single line: '76'
Test #59:
score: 19
Accepted
time: 1ms
memory: 3560kb
input:
10 77 6 6 3 1 51 ..###...#.#..#.##........##........#...##....#...#.#.....#........##......#.. ##.........#.#....#.#.##.##......#.#..#..#.........#...#..#..##..#....#.###.. .......##...##....#......#...#..#.#####............#....#........#.#........# ..#......#...##.....#...##..#.#..##..##..#...##.....
output:
2
result:
ok single line: '2'
Test #60:
score: 19
Accepted
time: 0ms
memory: 3588kb
input:
3 86 3 2 57 1 6 ####...##########.################.#.#.#.#########.###########################.##..### #.#####.######.##.#################.##.############.####..#######.########.########### ##.#####.##.##.########.##.#####.################################.############.#######
output:
16
result:
ok single line: '16'
Test #61:
score: 19
Accepted
time: 1ms
memory: 3620kb
input:
12 50 4 10 13 3 13 #.########.####.####.#.######.######.#####.#####.# ####..########.######..#.#.##..##.##...###.##..### #.##########.#.#########.####.####.###.#####.##.#. .######.#####.#.###############.#.####.####..##... ###########.##.###.#####.##.########..#...##.####. #########.#######.##..####...
output:
2
result:
ok single line: '2'
Test #62:
score: 19
Accepted
time: 0ms
memory: 3864kb
input:
4 52 3 2 33 3 39 ....#.............#...............#....##...##....#. #..#....................#..#.....#.##..#....#.#..#.. .#..........#.....................#...............#. .#...#.....##......#..#......##.....................
output:
0
result:
ok single line: '0'
Test #63:
score: 19
Accepted
time: 0ms
memory: 3624kb
input:
16 49 2 1 43 7 40 ##########################################.###### ####.############.############################### ################################################# ################################################# ##.####.######################################### ################################...
output:
3
result:
ok single line: '3'
Subtask #3:
score: 0
Time Limit Exceeded
Test #64:
score: 16
Accepted
time: 12ms
memory: 3592kb
input:
35 60 20 3 60 2 44 .#....##.#.###..##.#.#....#.....#..#..#.##.#..#....###.####. #.#......#.####..####...#...#......#........####....##.#.### .#..#.....#.####..#.##..#.#.#...#.##..#.#..#######....#..##. .#.#...##..#.##.......#......##......####...##.##..##.#....# #...#.......#..#..#...#.#####.##.###....
output:
1
result:
ok single line: '1'
Test #65:
score: 16
Accepted
time: 11ms
memory: 3860kb
input:
63 602 3 10 463 3 402 #.#.#..#..######.#.##.##.#########.###.##.##..#..####.#...#########..###..####.######.###.##.#.....############.####.########.#.########.##.######.###..#####.###..##.#..#..##..##.###..##.###.#######...#.##.##.#.#.##...##...####.###.##.#.#.....#####.##.#..#.##..#...######.#####....
output:
9
result:
ok single line: '9'
Test #66:
score: 16
Accepted
time: 39ms
memory: 4644kb
input:
45 1194 5 4 632 37 206 ...#..#............#..........#..##....##......#...##..#..#.............#...#...........##....#.........#.#.##..........#......#..........#.....#...........#........#.#.................#................#..........##.......................#.....#..........#........#........#......
output:
0
result:
ok single line: '0'
Test #67:
score: 0
Time Limit Exceeded
input:
244 245 244 28 168 222 200 ...#...................................................................................................................................................................#..............................................................#.............. ..............................
output:
result:
Subtask #4:
score: 19
Accepted
Dependency #2:
100%
Accepted
Test #82:
score: 19
Accepted
time: 1ms
memory: 3588kb
input:
2 2234 2 1 330 1 953 #######.##############################################################################.#######################.############.#############.##################.#####################################.###########.##########################################################.#############...
output:
300
result:
ok single line: '300'
Test #83:
score: 19
Accepted
time: 8ms
memory: 4012kb
input:
2 30000 2 2 1567 2 22320 #####.##...##..#.##..###..########.##.###.##.#.##...#.#.....#...##.###..#####.#.##.#####...#####..#######.....##....####..#....#.#.....#.#..####..####....######.###.#...#..####..####.##.##.###..#..#...###.########..####.##.#####...##########.#.##..####.###.##.#...##.#..#..##...
output:
6458
result:
ok single line: '6458'
Test #84:
score: 19
Accepted
time: 144ms
memory: 3692kb
input:
15 4000 15 14 2553 11 1177 #....####.##....##.#..####.##.#####....#.######..##...###..####.#..#.######.####.##.#..####.######.##....##.#.##.......###.##.#..####....##..####.#.#####.#.###..##.#.##.############...###.##.#...##..#.#####..##..##################..#####.####.....#..##.#######.##..##.#.#.#...
output:
73
result:
ok single line: '73'
Test #85:
score: 19
Accepted
time: 372ms
memory: 3932kb
input:
24 2500 24 2 1260 23 1965 ###..##.###.#..##.###..#.#..#....#...#####.#.#####...###.#....#.##.##.###.####..####..#.###..###..##.#.....#.#...#.###.##..##..#####.##.##...##.#......#######...#.#.####.#......#####.#.##.#####..##......#.#.#.#.#####.#####...###.#.#..#####..#.##...#.##.####.####.#.#.##..#.#...
output:
25
result:
ok single line: '25'
Test #86:
score: 19
Accepted
time: 954ms
memory: 4112kb
input:
39 1538 39 8 1 30 1398 #####.###.###.#...##..#....##.#######.#.###.####.......#..###..#####......#.####.###..##.#..##...#.#####.##.#..##.##########.##.#####..###...#..##.#########.###.#.##.#..#.#####.####..#.#.###.....##......#######..##..#####.#.#####..###.######...#.#.##.##...#.##....#.#.###...#.#...
output:
32
result:
ok single line: '32'
Subtask #5:
score: 0
Time Limit Exceeded
Dependency #4:
100%
Accepted
Test #87:
score: 5
Accepted
time: 35ms
memory: 3960kb
input:
13 10513 3 10 3868 13 183 .....##########.#...#....########.####..#.############..###..#..#.####.##########.###....#.#.##.##.#########.#...#..#########.###..###..######.#####..##..#...###.##..##.##.########.....###.##.#.####..####.#...#####.###.##..##.#.##.#.##.###..###.###.#####.##.##.###.##..#####...
output:
720
result:
ok single line: '720'
Test #88:
score: 5
Accepted
time: 18ms
memory: 4140kb
input:
2 75000 2 2 64107 2 2578 .###..##.######...######.#.#####..###...##...#########.##.###.....###...##.##.##..########..####.#.#########.#......#####..#.##.######..#.##########.##.#####.#.#..#.#.#.##..####.##.##.######.......#..######.##.##..#.#...#..#...#.#..#.#.##..#####.###.#.#.#..##.##..###..#####....
output:
19250
result:
ok single line: '19250'
Test #89:
score: 5
Accepted
time: 710ms
memory: 4156kb
input:
21 7142 21 19 909 10 6297 ###..##..#.....#.####..#######.###.#.###..###.##.####.#####.#.####..###.#.##...#.....##########...#####.#...##........#.########.##.#.###.####.##.##.##.###.##.#.#...##.##..##.#...#..#.##.#..###...##.##.#####.#.###..#.#.#.#.#.###..##..#..#.#.#...#.#.##....#.#.###...###.###.....
output:
210
result:
ok single line: '210'
Test #90:
score: 5
Accepted
time: 1716ms
memory: 4604kb
input:
33 4545 33 13 795 29 4232 .#.#......#.#..#..#.#.#####.#.#..##.#.###############.###.###......#..##.##..###...##.###..#####.###.##.##...##...##.###.####....#.##.#.#....#.##...#.#####..#####.####.####.##.##..##.##....##..#.####...#####.##..#..#.#...####.#######.#.#..#.##...###.#.#...#..##.#####.##.###...
output:
90
result:
ok single line: '90'
Test #91:
score: 0
Time Limit Exceeded
input:
53 2830 53 11 2624 46 123 .#.#.#######...###...###.###.#.##...#####..#######..#####.###..#####.##..#.######.#####.####.##..#.#.###.########......#...###.#...#..##.##.###...#.##....#.###.#.##..#####.##.####..##..#.#.##.#..#####..###.###.##.##.####.....##.###.#..##..###.#####.############.####.#####.#...
output:
result:
Subtask #6:
score: 0
Skipped
Dependency #1:
100%
Accepted
Dependency #3:
0%
Subtask #7:
score: 0
Skipped
Dependency #6:
0%
Subtask #8:
score: 0
Skipped
Dependency #7:
0%