103290: [Atcoder]ABC329 A - Spread
Memory Limit:256 MB
Time Limit:2 S
Judge Style:Text Compare
Creator:
Submit:10
Solved:0
Description
Score : $100$ points
Problem Statement
You are given a string $S$ consisting of uppercase English letters. Separate each character of $S$ with a space and print them one by one in order.
Constraints
- $S$ is a string consisting of uppercase English letters with a length between $2$ and $100$, inclusive.
Input
The input is given from Standard Input in the following format:
$S$
Output
Separate each character of $S$ with a space and print them one by one.
Sample Input 1
ABC
Sample Output 1
A B C
Separate A
, B
, and C
with spaces and print them one by one.
There is no need to print a space after C
.
Sample Input 2
ZZZZZZZ
Sample Output 2
Z Z Z Z Z Z Z
Sample Input 3
OOXXOO
Sample Output 3
O O X X O O
Output
得分:$100$分
问题描述
给定一个由大写英文字母组成的字符串$S$。将$S$中的每个字符用空格隔开,并按顺序逐个打印。
限制条件
- $S$是一个长度在$2$到$100$之间的由大写英文字母组成的字符串。
输入
输入通过标准输入给出以下格式:
$S$
输出
用空格隔开$S$中的每个字符,并逐个打印。
样例输入1
ABC
样例输出1
A B C
用空格隔开A
、B
和C
,并逐个打印。
在C
后面不需要打印空格。
样例输入2
ZZZZZZZ
样例输出2
Z Z Z Z Z Z Z
样例输入3
OOXXOO
样例输出3
O O X X O O
HINT
用空格隔开输出字符串的每个字符?