TopCoder

User's AC Ratio

100.0% (2/2)

Submission's AC Ratio

83.3% (5/6)

Tags

Description

Input Format

Output Format

Sample Input 1

B,A,BA,A,,Z,K,F,,,,,,,,,,C,,,,,,Y,A,X
ACKFP

Sample Output 1

ABCDFHRXYZ
CR
GK
FH
P

Sample Input 2

IF,YOU,DO,NOT,KNOW,HOW,TO,SOLVE,THIS,QUESTION,PLEASE,TRY,TO,USE,DEPTH,FIRST,SEARCH,WISH,YOU,HAVE,FUN,IN,THE,YTP,EXAM,OKAY
WINYTPGAME

Sample Output 2

ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ
G
ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ

Sample Input 3

DO,YOU,ENJOY,WRITE,PYTHON,C,CPLUS,OR,JAV,CODE,,IT,IS,A,EASY,WAY,TO,CHANGE,THE,WORLD,AND,MAKE,THE,WORLD,WONDERFUL,PLACE
BOXKZ

Sample Output 3

B
ABCDEFGHIJLMNOPQRSTUVWXYZ
X
ABCDEFGHIJKLMNOPQRSTUVWXYZ
Z

Hints

Problem Source

YTP 2020 高中組程式挑戰營 p5

Subtasks

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

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