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 5 6
LRLR
NLLR
LNNL
4 5 666666
LRLR
NLLR
LNNL

Sample Output 1

2
0
0
0
0
0
2
1
1
0
0
0
0
0
0
0
0
0
0
0
37038
37038
0
0
30864
37036
11112
30864
30864
30864
30864
30864
11110
30865
18519
30864
30864
0
18518
18518

Hints

Problem Source

Migrated from old NTUJ.

NEERC 2009

Subtasks

No. Testdata Range Score

Testdata and Limits

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