TopCoder

User's AC Ratio

NaN% (0/0)

Submission's AC Ratio

NaN% (0/0)

Tags

Description

Input Format

Output Format

Sample Input 1

C.PPP
PPPG.

C....
G##.P
.##PP
..PPP

PPP
PCP
PG.

.PPPCPPP..
....G.....

Sample Output 1

10
23
15
21

Hints

Problem Source

Migrated from old NTUJ.

Pacific Northwest Region Programming Contest 2012

Subtasks

No. Testdata Range Score

Testdata and Limits

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