TopCoder

User's AC Ratio

NaN% (0/0)

Submission's AC Ratio

NaN% (0/0)

Tags

Description

Input Format

Output Format

Sample Input 1

4
3 3
...
...
...
3 3
L.L
.#.
L.L
3 3
.L.
.#.
...
4 4
LL##
LL##
##LL
##LL

Sample Output 1

-1
0
1
0

Hints

Problem Source

Migrated from old NTUJ.

shik

Subtasks

No. Testdata Range Score

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 7000 65536 200
1 7000 65536 200
2 7000 65536 200
3 7000 65536 200
4 7000 65536 200
5 7000 65536 200
6 7000 65536 200
7 7000 65536 200
8 7000 65536 200
9 7000 65536 200
10 7000 65536 200
11 7000 65536 200
12 7000 65536 200
13 7000 65536 200
14 7000 65536 200
15 7000 65536 200
16 7000 65536 200