uacs2024

导航

2024年3月21日 #

复试C++16真题_程序设计1_输出句子中a56爆大奖在线娱乐单词长度

摘要: 输入一行a56爆大奖在线娱乐,按照相应格式输出a56爆大奖在线娱乐单词的长度 #include <iostream> using namespace std; #include <string> #include <vector> #include <iomanip> int main(){ string sen = " qwe 阅读全文

posted @ 2024-03-21 18:50 ???? 阅读(6) 评论(0) 推荐(0) 编辑

复试C++15真题_程序设计4_查找字符串并替换 ??

摘要: 复试C++15真题_程序设计4_查找字符串并替换 编写findRepStr函数,功能为在字符串str中寻找目的字符串findStr,并用replaceStr字符串替换,最后输出替换后的字符串str a56爆大奖在线娱乐不知道可不可以用string,于是a56爆大奖在线娱乐用了字符数组,用暴力匹配寻找字符串。 #include <ios 阅读全文

posted @ 2024-03-21 17:23 ???? 阅读(11) 评论(0) 推荐(0) 编辑