首页 > 分离
头像 小松鼠爱吃大米
发表于 2023-08-08 15:35:53
将奇数位置取出来即可: while i<s.size() str+=s[i] i+=2 c++: #include <bits/stdc++.h> using namespace std; int main(){ int T=0; cin>> 展开全文