TopCoder

User's AC Ratio

NaN% (0/0)

Submission's AC Ratio

NaN% (0/0)

Tags

Description

Input Format

Output Format

Sample Input 1

5 6
.*#...
......
.#...#
.....#
.....#
10 30
..............................
..............................
..........#...................
.........#*#..................
..........#...................
..............................
..............................
..............................
..............................
..............................
3 7
.#....*
##.....
#......
6 10
..........
..........
..........
###..#####
..........
*.........
6 11
...........
...........
......#....
........#..
..........#
..........*
1 1
*

Sample Output 1

13.5
295.0
1.1666666666
29.2777777778
25.4333333333
0.0

Hints

Info: 本題輸出為浮點數,絕對或相對誤差 1e-5 以下視為正確

Problem Source

Migrated from old NTUJ.

Topcoder SRM

Subtasks

No. Testdata Range Score

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 10000 65536 200