摘要: A.字符串拼接 直接拼接两个字符串即可,注意的是字符串可能包含空格,因此需要使用getline函数进行输入。 #include <bits/stdc++.h> using namespace std; int main() { string s1, s2; getline(cin, s1); get 阅读全文
posted @ 2024-10-10 14:05 橙之夏 阅读(792) 评论(0) 推荐(0)