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 65536
1 7000 65536 65536
2 7000 65536 65536
3 7000 65536 65536
4 7000 65536 65536
5 7000 65536 65536
6 7000 65536 65536
7 7000 65536 65536
8 7000 65536 65536
9 7000 65536 65536
10 7000 65536 65536
11 7000 65536 65536
12 7000 65536 65536
13 7000 65536 65536
14 7000 65536 65536
15 7000 65536 65536
16 7000 65536 65536