cs_zhao @ 2016-08-21 15:17:24
···
#include <iostream>
using namespace std;
#include <string>
int main()
{
int a;
cin>>a;
int s[a];
gets(s);
int b=a;
int n[b]
for (int i=1;<=a;i++)
{
if(s[b]==z)
n[b]=a;
else
s[b]=s[b+1];
b=b-1;
}
cout<<s;
}
···
by mimi小昵子 @ 2016-10-05 16:44:09
数组不能用变量