QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#447863 | #3810. Landscaping | _map_ | AC â | 5ms | 6772kb | C++23 | 8.6kb | 2024-06-18 22:15:09 | 2024-06-18 22:15:11 |
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: 1ms
memory: 5856kb
input:
5 4 1000 2000 ...# #..# ...# ##.. ###.
output:
11000
result:
ok single line: '11000'
Test #2:
score: 0
Accepted
time: 0ms
memory: 6172kb
input:
50 50 1 1 ####################.###########################.# #.####..#.###########.############################ ########################################.#.####### ##.##..#####.######.#..############.########.##### #########.########.################.###########.## ###############.###.###########.###...
output:
237
result:
ok single line: '237'
Test #3:
score: 0
Accepted
time: 2ms
memory: 6452kb
input:
50 50 1 2 ....#.........##............#........#.........#.# ...........##..........##...............#....#...# ..##...............#....##...............#.......# ..............#...#....#....#..........#.......#.. #.##...................#......#................... ..........#...................#.......
output:
476
result:
ok single line: '476'
Test #4:
score: 0
Accepted
time: 2ms
memory: 6484kb
input:
50 50 1 1 ....#.........##............#........#.........#.# ...........##..........##...............#....#...# ..##...............#....##...............#.......# ..............#...#....#....#..........#.......#.. #.##...................#......#................... ..........#...................#.......
output:
239
result:
ok single line: '239'
Test #5:
score: 0
Accepted
time: 5ms
memory: 6224kb
input:
50 50 100000 100000 #.###..#.#.#.#####.#...#....#.###.##.#.###.#..##.# #..##......###.#.####..###.##.#..##..#.#####.#.### ..##.##.#.#.....#..#...####.#...#..#.#.#.#.#..#### ##..#....###..#.#.#.#..##...##.##.#.##.#####.##### #####..##.#.#.#....#.###.##..##..#...##.#...#.#..# ##..###.#.###.#..##...###...
output:
121500000
result:
ok single line: '121500000'
Test #6:
score: 0
Accepted
time: 2ms
memory: 6572kb
input:
50 50 100000 100000 ################################################## #.################################################ #.################################################ #.################################################ #.################################################ #.#######################...
output:
9800000
result:
ok single line: '9800000'
Test #7:
score: 0
Accepted
time: 0ms
memory: 6384kb
input:
50 50 100000 100000 ################################################## ################################################## ################################################## ################################################## ################################################## #########################...
output:
0
result:
ok single line: '0'
Test #8:
score: 0
Accepted
time: 1ms
memory: 4060kb
input:
1 1 1 1 .
output:
0
result:
ok single line: '0'
Test #9:
score: 0
Accepted
time: 5ms
memory: 5948kb
input:
49 50 100000 100000 #.###..#.#.#.#####.#...#....#.###.##.#.###.#..##.# #..##......###.#.####..###.##.#..##..#.#####.#.### ..##.##.#.#.....#..#...####.#...#..#.#.#.#.#..#### ##..#....###..#.#.#.#..##...##.##.#.##.#####.##### #####..##.#.#.#....#.###.##..##..#...##.#...#.#..# ##..###.#.###.#..##...###...
output:
119100000
result:
ok single line: '119100000'
Test #10:
score: 0
Accepted
time: 5ms
memory: 4616kb
input:
50 49 100000 100000 #.###..#.#.#.#####.#...#....#.###.##.#.###.#..##. ##..##......###.#.####..###.##.#..##..#.#####.#.# ##..##.##.#.#.....#..#...####.#...#..#.#.#.#.#..# #####..#....###..#.#.#.#..##...##.##.#.##.#####.# #########..##.#.#.#....#.###.##..##..#...##.#...# .#..###..###.#.###.#..##...###...
output:
119000000
result:
ok single line: '119000000'
Test #11:
score: 0
Accepted
time: 0ms
memory: 4068kb
input:
50 1 2 1 # . # # # . . # . # . # . # # # # # . # . . . # . . . . # . # # # . # # . # . # # # . # . . # # . #
output:
20
result:
ok single line: '20'
Test #12:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
4 4 1000 1500 .... .#.. .#.. ####
output:
7000
result:
ok single line: '7000'
Test #13:
score: 0
Accepted
time: 0ms
memory: 4124kb
input:
1 50 2 1 ...#.#.##.#....#.####.##.#.########..#...##..#..##
output:
19
result:
ok single line: '19'
Test #14:
score: 0
Accepted
time: 0ms
memory: 3900kb
input:
5 5 1 10 .#.#. #.#.# .#.#. #.#.# .#.#.
output:
40
result:
ok single line: '40'
Test #15:
score: 0
Accepted
time: 0ms
memory: 5856kb
input:
5 5 10 1 .#.#. #.#.# .#.#. #.#.# .#.#.
output:
12
result:
ok single line: '12'
Test #16:
score: 0
Accepted
time: 2ms
memory: 5896kb
input:
50 50 1 10 #.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#. .#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.# #.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#. .#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.# #.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#. .#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#...
output:
4900
result:
ok single line: '4900'
Test #17:
score: 0
Accepted
time: 2ms
memory: 6772kb
input:
50 50 10 1 #.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#. .#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.# #.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#. .#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.# #.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#. .#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#...
output:
1250
result:
ok single line: '1250'
Test #18:
score: 0
Accepted
time: 0ms
memory: 4592kb
input:
50 50 1 2 #.###..#.#.#.#####.#...#....#.###.##.#.###.#..##.# #..##......###.#.####..###.##.#..##..#.#####.#.### ..##.##.#.#.....#..#...####.#...#..#.#.#.#.#..#### ##..#....###..#.#.#.#..##...##.##.#.##.#####.##### #####..##.#.#.#....#.###.##..##..#...##.#...#.#..# ##..###.#.###.#..##...###.#...#.#.....
output:
2099
result:
ok single line: '2099'
Test #19:
score: 0
Accepted
time: 5ms
memory: 6196kb
input:
50 50 1 1 #.###..#.#.#.#####.#...#....#.###.##.#.###.#..##.# #..##......###.#.####..###.##.#..##..#.#####.#.### ..##.##.#.#.....#..#...####.#...#..#.#.#.#.#..#### ##..#....###..#.#.#.#..##...##.##.#.##.#####.##### #####..##.#.#.#....#.###.##..##..#...##.#...#.#..# ##..###.#.###.#..##...###.#...#.#.....
output:
1215
result:
ok single line: '1215'
Test #20:
score: 0
Accepted
time: 2ms
memory: 6228kb
input:
50 50 1 2 ####################.###########################.# #.####..#.###########.############################ ########################################.#.####### ##.##..#####.######.#..############.########.##### #########.########.################.###########.## ###############.###.###########.###...
output:
472
result:
ok single line: '472'