TopCoder

User's AC Ratio

NaN% (0/0)

Submission's AC Ratio

NaN% (0/0)

Tags

Description

Input Format

Output Format

Sample Input 1

3
1
abccc
3
bdcvg
tmt
paul
4
e
d
d
yee

Sample Output 1

Yes
No
Yes

Sample Input 2

4
2
abc
bca
3
t
m
t
4
np
ps
sc
cn
1
aaaaaaabbbbbbccccc

Sample Output 2

Yes
Yes
Yes
Yes

Hints

Problem Source

NPSC 2015 國中組決賽 pF

Subtasks

No. Testdata Range Constraints Score
1 0~1 範例測資 0
2 0~7 無額外限制 100

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 2000 1048576 1048576 1 2
1 2000 1048576 1048576 1 2
2 2000 1048576 1048576 2
3 2000 1048576 1048576 2
4 2000 1048576 1048576 2
5 2000 1048576 1048576 2
6 2000 1048576 1048576 2
7 2000 1048576 1048576 2