1861: 【CSP字符】删除指定字符▅
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:4
Solved:3
Description
从键盘输入一个字符串 str 和一个字符 c ,删除 str 中的所有字符 c 并输出删除后的字符串 str 。
Input
第一行是一个字符串,字符串不含空格,长度 ≤100 ;
第二行是一个字符。
Output
删除指定字符后的字符串。
Sample Input Copy
sdf$$$sdf$$
$
Sample Output Copy
sdfsdf