文章
1
粉丝
0
获赞
4
访问
139
#include<iostream>
#include<string>
#include<algorithm>
#include<vector>
#include<map>
#include<queue>
using namespace std;
int main() {
string s;
cin >> s;
int n;
cin >> n;
for (int k = 0; k < n; k++) //n表示有几条命令
{
string order;
cin >> order;
//cout << order << endl;
if (order[0]=='0') //翻转
{
int st = order[1]-'0';
int len = order[2]-'0';
 ...
登录后发布评论
暂无评论,来抢沙发