QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#113124#3514. Boulderinglmq26052003TL 64ms786384kbC++202.5kb2023-06-16 14:47:322023-06-16 14:47:35

详细

Test #1:

score: 100
Accepted
time: 42ms
memory: 786380kb

input:

12 11 3 11
...........
........3..
.......3.1.
...........
.......2...
.....2.....
.1.1.......
.....2.....
.1.........
...2.......
.1.........
...........

output:

13.543203766865055

result:

ok 

Test #2:

score: 0
Accepted
time: 63ms
memory: 786376kb

input:

8 16 3 15
......1.........
....1..1.1......
..2........1....
...2......1.....
.....4.1..2..1..
................
.......1........
................

output:

6.414213562373095

result:

ok 

Test #3:

score: 0
Accepted
time: 64ms
memory: 786288kb

input:

10 10 2 10
...2......
..........
...5.2....
..........
.....3....
....5.....
..2....2..
..1.......
....2.....
..1.......

output:

impossible

result:

ok 

Test #4:

score: 0
Accepted
time: 58ms
memory: 786384kb

input:

5 5 1 100
....1
.1111
.1.9.
.119.
..1..

output:

6.000000000000000

result:

ok 

Test #5:

score: 0
Accepted
time: 51ms
memory: 786292kb

input:

6 7 3 10
..6....
..1....
.......
.5..1..
.......
..1....

output:

6.656854249492381

result:

ok 

Test #6:

score: 0
Accepted
time: 34ms
memory: 786320kb

input:

2 18 2 5
.............1....
...............9..

output:

impossible

result:

ok 

Test #7:

score: -100
Time Limit Exceeded

input:

25 25 1 1000000
9........................
21.21921.21921.21921.2193
92.92.92.92.92.92.92.92.3
.2..2..2..2..2..2..2..2.3
12.12.12.12.12.12.12.12.3
29.29.29.29.29.29.29.29.3
2..2..2..2..2..2..2..2..3
21.21.21.21.21.21.21.21.3
92.92.92.92.92.92.92.92.3
.2..2..2..2..2..2..2..2.3
12.12.12.12.12.12.12.12....

output:


result: