TopCoder

User's AC Ratio

NaN% (0/0)

Submission's AC Ratio

NaN% (0/0)

Tags

Description

Input Format

Note: Unlike the pdf file, the input file has many test cases and ends with EOF.

Output Format

Sample Input 1

5 3
101
001
010
001
001
2 2
01
10

Sample Output 1

6 7
\./\/\/
\\L./\/
\\.X../
\\X.77.
\\.7/..
.\X/...
1 1
X

Hints

Problem Source

Migrated from old NTUJ.

ACM ICPC 2011–2012, NEERC, Northern Subregional Contest

Subtasks

No. Testdata Range Score

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 3000 65536 40000