文章
37
粉丝
98
获赞
69
访问
30.4k
#include<iostream>
#include<algorithm>
#include<string>
using namespace std;
int main()
{
string str;
while (getline(cin, str)) {
int n,cnt=0;
string ans[100];
cin >> n;
getchar();
for (int i = 0; i < n; i++) {
string oper;
getline(cin, oper);
int start = oper[1] - '0';
int dis = oper[2] - '0';
if (oper[0] == '0') {//翻转
for (int p = st...
登录后发布评论
暂无评论,来抢沙发