摘要:
总时间限制: 1000ms 内存限制: 65536kB描述 给定一个单词,如果该单词以er、ly或者ing后缀结尾, 则删除该后缀(题目保证删除后缀后的单词长度不为0), 否则不进行任何操作。 输入输入一行,包含一个单词(单词中间没有空格,每个单词最大长度为32)。输出输出按照题目要求处理后的单词。 阅读全文
posted @ 2020-12-02 23:35
丁帅帅dss
阅读(433)
评论(0)
推荐(0)
摘要:
1 #include <iostream> 2 #include <algorithm> 3 #include <string> 4 using namespace std; 5 int main() 6 { 7 int a = 10; 8 int b = 5; 9 int c = 12; 10 s 阅读全文
posted @ 2020-12-02 22:34
丁帅帅dss
阅读(92)
评论(0)
推荐(0)
摘要:
1 #include <iostream> 2 using namespace std; 3 int abc(int); 4 int fun1(int); 5 int fun1(int a) 6 { 7 cout << "递归函数1" << endl; 8 if (a == 1) 9 { 10 re 阅读全文
posted @ 2020-12-02 00:37
丁帅帅dss
阅读(90)
评论(0)
推荐(0)

浙公网安备 33010602011771号