练70.3 删除单词后缀
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
Description
给定一个单词,如果该单词以、或者后缀结尾, 则删除该后缀(题目保证删除后缀后的单词长度不为 ),否则不进行任何操作。
Input Format
输入一行,包含一个单词(单词中间没有空格,每个单词最大长度为 )。
Output Format
输出按照题目要求处理后的单词。
referer
refer
Source
http://bas.ssoier.cn:8086/problem_show.php?pid=3411 字符数组与字符串
数组及应用4(字符数组和字符串)
- Status
- Done
- Problem
- 8
- Open Since
- 2025-12-12 0:00
- Deadline
- 2025-12-19 23:59
- Extension
- 24 hour(s)