0_0_33476014_3921\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_33476014_3921\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
^
0_0_33476014_3921\Main.java:3: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_33476014_3921\Main.java:3: 错误: 需要class, interface或enum
#include <cstdio>
^
0_0_33476014_3921\Main.java:4: 错误: 非法字符: '#'
#include <string>
^
0_0_33476014_3921\Main.java:5: 错误: 非法字符: '#'
#include <string.h>
^
0_0_33476014_3921\Main.java:6: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_33476014_3921\Main.java:11: 错误: 需要class, interface或enum
int i,i1,i2;
^
0_0_33476014_3921\Main.java:12: 错误: 需要class, interface或enum
int m=i=i1=i2=0;
^
0_0_33476014_3921\Main.java:13: 错误: 需要class, interface或enum
ji[0]=n;
^
0_0_33476014_3921\Main.java:15: 错误: 需要class, interface或enum
for(i=0;i<n;i++)
^
0_0_33476014_3921\Main.java:15: 错误: 需要class, interface或enum
for(i=0;i<n;i++)
^
0_0_33476014_3921\Main.java:15: 错误: 需要class, interface或enum
for(i=0;i<n;i++)
^
0_0_33476014_3921\Main.java:19: 错误: 需要class, interface或enum
m+=1;//空格数
^
0_0_33476014_3921\Main.java:20: 错误: 需要class, interface或enum
}
^
0_0_33476014_3921\Main.java:23: 错误: 需要class, interface或enum
for(i=0;i<=m;i++)
^
0_0_33476014_3921\Main.java:23: 错误: 需要class, interface或enum
for(i=0;i<=m;i++)
^
0_0_33476014_3921\Main.java:27: 错误: 需要class, interface或enum
if(i==0&&i!=m) reverse(str1,str1+ji[0]);//首
^
0_0_33476014_3921\Main.java:28: 错误: 需要class, interface或enum
if(i==m&&i!=0) reverse(str1+ji[m-1]+1,str1+n);//尾
^
0_0_33476014_3921\Main.java:29: 错误: 需要class, interface或enum
if(i>0&&i<m) reverse(str1+ji[i-1]+1,str1+ji[i]);//中
^
0_0_33476014_3921\Main.java:30: 错误: 需要class, interface或enum
}
^
0_0_33476014_3921\Main.java:34: 错误: 需要class, interface或enum
}
^
0_0_33476014_3921\Main.java:39: 错误: 需要class, interface或enum
int i;
^
0_0_33476014_3921\Main.java:40: 错误: 需要class, interface或enum
cin>>n;
^
0_0_33476014_3921\Main.java:41: 错误: 需要class, interface或enum
getchar();//用来接收一个"\n"
^
0_0_33476014_3921\Main.java:42: 错误: 需要class, interface或enum
for(int j=0;j<n;j++)
^
0_0_33476014_3921\Main.java:42: 错误: 需要class, interface或enum
for(int j=0;j<n;j++)
^
0_0_33476014_3921\Main.java:42: 错误: 需要class, interface或enum
for(int j=0;j<n;j++)
^
0_0_33476014_3921\Main.java:45: 错误: 需要class, interface或enum
gets(str);
^
0_0_33476014_3921\Main.java:46: 错误: 需要class, interface或enum
i=strlen(str);
^
0_0_33476014_3921\Main.java:47: 错误: 需要class, interface或enum
change(str,i);
^
0_0_33476014_3921\Main.java:48: 错误: 需要class, interface或enum
}
^
0_0_33476014_3921\Main.java:50: 错误: 需要class, interface或enum
}
^
33 个错误
|