TopCoder

User's AC Ratio

91.7% (11/12)

Submission's AC Ratio

59.1% (13/22)

Tags

Description

Input Format

Output Format

Sample Input 1

2 4
winn
fssf

Sample Output 1

wfssf

Sample Input 2

3 3
nas
mwt
rxt

Sample Output 2

nastt

Sample Input 3

2 3
yac
qdw

Sample Output 3

yacw

Hints

Problem Source

YTP 2020 高中組初賽 p6

Subtasks

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

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 1000 262144 65536 1 2
1 1000 262144 65536 1 2
2 1000 262144 65536 1 2
3 1000 262144 65536 2
4 1000 262144 65536 2
5 1000 262144 65536 2
6 1000 262144 65536 2
7 1000 262144 65536 2
8 1000 262144 65536 2