摘要: s.insert(位置,“元素”) ` include<bits/stdc++.h> using namespace std; int main(){ string s; getline(cin,s);\需要处理空格时使用getline() int n=s.length(); for(int i=n 阅读全文
posted @ 2024-02-18 23:43 CXfang10 阅读(41) 评论(0) 推荐(0)