QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#39442#1197. Draw in Straight LinesZhaoZiLongWA 3ms7832kbC++174.9kb2022-07-09 22:22:352022-07-09 22:22:38

詳細信息

Test #1:

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

input:

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

output:

10

result:

ok answer is '10'

Test #2:

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

input:

2 7 0 1 1
###.###
###.###

output:

3

result:

ok answer is '3'

Test #3:

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

input:

5 5 1 4 4
..#..
..#..
##.##
..#..
..#..

output:

24

result:

ok answer is '24'

Test #4:

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

input:

7 24 1 10 10
###...###..#####....###.
.#...#...#.#....#..#...#
.#..#......#....#.#.....
.#..#......#####..#.....
.#..#......#......#.....
.#...#...#.#.......#...#
###...###..#........###.

output:

256

result:

ok answer is '256'

Test #5:

score: -100
Wrong Answer
time: 0ms
memory: 7572kb

input:

5 5 0 3 2
..#..
..#..
##.##
..#..
..#..

output:

10

result:

wrong answer expected '11', found '10'