TopCoder

User's AC Ratio

NaN% (0/0)

Submission's AC Ratio

NaN% (0/0)

Tags

Description

Input Format

Output Format

Sample Input 1

1
ntujudge
2
ntujudge
ntujudge
2
aab
ca
3
aab
ca
ba
3
ab
cd
ef
3
a
aa
aaa

Sample Output 1

9
9
5
5
7
4

Hints

Problem Source

Migrated from old NTUJ.

TopCoder SRM

Subtasks

No. Testdata Range Score

Testdata and Limits

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