QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#232044#6259. Gluttonous Gooplmq26052003AC ✓8ms13320kbC++202.2kb2023-10-29 19:37:392023-10-29 19:37:39

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3484kb

input:

5 5 3
.....
.###.
.#.#.
.###.
.....

output:

81

result:

ok single line: '81'

Test #2:

score: 0
Accepted
time: 2ms
memory: 3492kb

input:

3 3 1
#..
.#.
..#

output:

19

result:

ok single line: '19'

Test #3:

score: 0
Accepted
time: 2ms
memory: 3396kb

input:

4 6 3
..##..
.#..#.
.#..#.
..##..

output:

96

result:

ok single line: '96'

Test #4:

score: 0
Accepted
time: 4ms
memory: 12584kb

input:

1 1 1000000
#

output:

4000004000001

result:

ok single line: '4000004000001'

Test #5:

score: 0
Accepted
time: 3ms
memory: 4244kb

input:

2 2 91011
.#
.#

output:

33132554552

result:

ok single line: '33132554552'

Test #6:

score: 0
Accepted
time: 4ms
memory: 13320kb

input:

20 20 1000000
####################
####################
####################
####################
####################
####################
####################
####################
####################
####################
####################
####################
####################
#############...

output:

4000080000400

result:

ok single line: '4000080000400'

Test #7:

score: 0
Accepted
time: 3ms
memory: 11624kb

input:

20 20 630238
....................
....................
....................
....................
....................
....................
....................
....................
#...................
....................
....................
....................
....................
.................

output:

1588840081630

result:

ok single line: '1588840081630'

Test #8:

score: 0
Accepted
time: 0ms
memory: 12148kb

input:

20 20 630238
#...................
.#..................
..#.................
...#................
....#...............
.....#..............
......#.............
.......#............
........#...........
.........#..........
..........#.........
...........#........
............#.......
.............#...

output:

1588850165636

result:

ok single line: '1588850165636'

Test #9:

score: 0
Accepted
time: 3ms
memory: 12980kb

input:

20 20 1000000
.........##.........
........####........
.......######.......
......########......
.....##########.....
....############....
...##############...
..################..
.##################.
####################
####################
.##################.
..################..
...##########...

output:

4000080000220

result:

ok single line: '4000080000220'

Test #10:

score: 0
Accepted
time: 7ms
memory: 12836kb

input:

5 5 1000000
.....
.....
.....
.....
.....

output:

0

result:

ok single line: '0'

Test #11:

score: 0
Accepted
time: 2ms
memory: 3512kb

input:

5 5 1
.....
.....
.....
.....
.....

output:

0

result:

ok single line: '0'

Test #12:

score: 0
Accepted
time: 2ms
memory: 4176kb

input:

20 20 93002
####################
#..................#
#..................#
#..................#
#..................#
#..................#
#..................#
#..................#
#..................#
#..................#
#..................#
#..................#
#..................#
#.................

output:

34604928576

result:

ok single line: '34604928576'

Test #13:

score: 0
Accepted
time: 1ms
memory: 3440kb

input:

20 20 3
####################
#..................#
#..................#
#..................#
#..................#
#..................#
#..................#
#..................#
#..................#
#..................#
#..................#
#..................#
#..................#
#.....................

output:

532

result:

ok single line: '532'

Test #14:

score: 0
Accepted
time: 3ms
memory: 5196kb

input:

10 12 173312
...#....##..
....#.#.....
............
##.#..#.....
...#...#..#.
#..##.....#.
#.##.#..#...
....#....#.#
.#.#..#.....
............

output:

120155476561

result:

ok single line: '120155476561'

Test #15:

score: 0
Accepted
time: 1ms
memory: 3660kb

input:

16 1 12123
.
.
#
.
.
.
#
.
.
.
.
.
.
.
.
.

output:

588013997

result:

ok single line: '588013997'

Test #16:

score: 0
Accepted
time: 2ms
memory: 4152kb

input:

20 11 78669
........#..
#..........
##...#.....
.##........
...........
.....#....#
....#......
#.##.......
.##...#.#..
...........
###.#......
...#...#...
.#.........
...........
..........#
.........##
..#...#....
....#.....#
##.........
....###.#..

output:

24760123916

result:

ok single line: '24760123916'

Test #17:

score: 0
Accepted
time: 0ms
memory: 12004kb

input:

3 20 935833
..#.#.....#...#.....
........#...........
.......#............

output:

3503163562228

result:

ok single line: '3503163562228'

Test #18:

score: 0
Accepted
time: 0ms
memory: 11896kb

input:

19 7 528014
.......
.....#.
#.#..#.
......#
.##...#
..#..#.
#..#...
.......
.#....#
.....#.
#......
#......
......#
..#....
...#.#.
.#..##.
....#.#
###..#.
...#...

output:

1115221537596

result:

ok single line: '1115221537596'

Test #19:

score: 0
Accepted
time: 3ms
memory: 5156kb

input:

15 15 139652
.............#.
...............
...............
...............
............#..
...............
.....#.........
.#........#...#
..#............
..##...........
...............
.#.............
.#.............
....#..........
...............

output:

78018544980

result:

ok single line: '78018544980'

Test #20:

score: 0
Accepted
time: 0ms
memory: 3544kb

input:

19 16 10
.#..............
.........#......
...#............
................
....#...#....#.#
.............#..
....#.........#.
.........#......
................
.....#..........
#..............#
......#.......#.
.......#........
........#....#..
.#......#.#.#...
#.........#.....
...#..........#.
.....

output:

1337

result:

ok single line: '1337'

Test #21:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

8 19 2
....#...........#..
....#.....##.......
.............#.....
#........###.......
............#......
........#.....#..#.
..#.....#..........
...................

output:

195

result:

ok single line: '195'

Test #22:

score: 0
Accepted
time: 1ms
memory: 3532kb

input:

15 1 1
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

output:

0

result:

ok single line: '0'

Test #23:

score: 0
Accepted
time: 1ms
memory: 3528kb

input:

18 9 1
.........
......#..
........#
.........
......#..
#........
...#.....
.#...#.##
......#..
........#
..#....#.
.........
.......#.
#........
.#......#
.........
.........
.........

output:

111

result:

ok single line: '111'

Test #24:

score: 0
Accepted
time: 2ms
memory: 3512kb

input:

19 13 4
.........#...
........#....
..........###
.......##...#
.........#...
.............
.............
..#..........
.............
.............
.............
.......#.....
.............
..#...#......
.............
.............
.....##......
.............
....#........

output:

374

result:

ok single line: '374'

Test #25:

score: 0
Accepted
time: 8ms
memory: 13008kb

input:

1 1 1000000
#

output:

4000004000001

result:

ok single line: '4000004000001'

Test #26:

score: 0
Accepted
time: 4ms
memory: 7480kb

input:

1 1 329048
.

output:

0

result:

ok single line: '0'

Test #27:

score: 0
Accepted
time: 2ms
memory: 3580kb

input:

20 20 12890
#..................#
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
..................

output:

665639639

result:

ok single line: '665639639'

Test #28:

score: 0
Accepted
time: 1ms
memory: 3508kb

input:

2 2 3901
.#
##

output:

60902415

result:

ok single line: '60902415'

Test #29:

score: 0
Accepted
time: 3ms
memory: 12680kb

input:

20 20 630238
#...................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
.................

output:

1588850165294

result:

ok single line: '1588850165294'

Test #30:

score: 0
Accepted
time: 7ms
memory: 12600kb

input:

20 20 630238
#..................#
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
.................

output:

1588826216592

result:

ok single line: '1588826216592'

Test #31:

score: 0
Accepted
time: 3ms
memory: 12244kb

input:

20 20 630238
...................#
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
.................

output:

1588850165294

result:

ok single line: '1588850165294'

Test #32:

score: 0
Accepted
time: 1ms
memory: 3508kb

input:

8 8 2
........
........
.....#..
...##...
...#....
........
........
........

output:

44

result:

ok single line: '44'

Test #33:

score: 0
Accepted
time: 1ms
memory: 3452kb

input:

20 20 0
####################
##.#################
#########..###.#####
#########.#####.####
##.######.#.##.#####
######.##.##.#######
#############.######
######.#######.#####
##########.###..####
#####.##.#####.#####
#############.######
#####.###.##.#######
####################
##.##.####.....####...

output:

357

result:

ok single line: '357'