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
B
W
WB
WB

6
B
W
WB
WB
BWW
BWW

Sample Output 1

5

10

Hints

Problem Source

Migrated from old NTUJ.

Subtasks

No. Testdata Range Score

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 2000 1048576 131072
1 2000 1048576 131072
2 2000 1048576 131072
3 2000 1048576 131072
4 2000 1048576 131072
5 2000 1048576 131072
6 2000 1048576 131072
7 2000 1048576 131072
8 2000 1048576 131072
9 2000 1048576 131072
10 2000 1048576 131072
11 2000 1048576 131072
12 2000 1048576 131072
13 2000 1048576 131072
14 2000 1048576 131072
15 2000 1048576 131072
16 2000 1048576 131072
17 2000 1048576 131072
18 2000 1048576 131072
19 2000 1048576 131072
20 2000 1048576 131072
21 2000 1048576 131072