103720: [Atcoder]ABC372 A - delete .
Memory Limit:256 MB
Time Limit:2 S
Judge Style:Text Compare
Creator:
Submit:8
Solved:0
Description
Score : $100$ points
Problem Statement
You are given a string $S$ consisting of lowercase English letters and .
.
Find the string obtained by removing all .
from $S$.
Constraints
- $S$ is a string of length between $1$ and $100$, inclusive, consisting of lowercase English letters and
.
.
Input
The input is given from Standard Input in the following format:
$S$
Output
Print the string obtained by removing all .
from $S$.
Sample Input 1
.v.
Sample Output 1
v
Removing all .
from .v.
yields v
, so print v
.
Sample Input 2
chokudai
Sample Output 2
chokudai
There are cases where $S$ does not contain .
.
Sample Input 3
...
Sample Output 3
There are also cases where all characters in $S$ are .
.
Output
得分:$100$ 分
问题陈述
给你一个由小写英文字母和 .
组成的字符串 $S$。
找出通过移除所有 .
从 $S$ 中得到的字符串。
约束条件
- $S$ 是一个长度在 $1$ 到 $100$(包含)之间的字符串,由小写英文字母和
.
组成。
输入
输入从标准输入以下格式给出:
$S$
输出
打印移除所有 .
后的字符串 $S$。
示例输入 1
.v.
示例输出 1
v
从 .v.
中移除所有的 .
得到 v
,所以打印 v
。
示例输入 2
chokudai
示例输出 2
chokudai
存在 $S$ 不包含 .
的情况。
示例输入 3
...
示例输出 3
也存在 $S$ 中的所有字符都是 .
的情况。