摘要:
1、输入十个正整数数字从小到大排序 输入:1 2 5 7 9 10 45 67 24 26 输出:1,2,5,7,9,10,24,26,45,67 #include <iostream> #include <vector> #include <algorithm> using namespace s 阅读全文
posted @ 2020-03-25 23:52
AlsoRan
阅读(547)
评论(0)
推荐(0)
摘要:
1、输入一组单词(区分大小写),统计首字母相同的单词的个数,相 同的单词不累加,输出格式:“字母,个数” input: I am a boy,you are a boy. output: I,1 a,3 b,1 y,1 #include <iostream> #include <map> #incl 阅读全文
posted @ 2020-03-25 00:15
AlsoRan
阅读(508)
评论(0)
推荐(0)
摘要:
1.输入一串整数,输入命令排序! 输入 a t 在这串整数后面添加整数 t, 输入 c\m\n 有 n 替换 m, 输入 d t 删除 t, 输入 s 排序。 #include <iostream> #include <vector> #include <cstring> #include <alg 阅读全文
posted @ 2020-03-25 00:13
AlsoRan
阅读(484)
评论(0)
推荐(1)