0_0_36533193_32703\Main.java:1: 错误: 非法字符: '#'
#include <map>
^
0_0_36533193_32703\Main.java:1: 错误: 需要class, interface或enum
#include <map>
^
0_0_36533193_32703\Main.java:2: 错误: 非法字符: '#'
#include<iostream>
^
0_0_36533193_32703\Main.java:3: 错误: 非法字符: '#'
#include<math.h>
^
0_0_36533193_32703\Main.java:4: 错误: 非法字符: '#'
#include<string.h>
^
0_0_36533193_32703\Main.java:6: 错误: 需要class, interface或enum
int main() {
^
0_0_36533193_32703\Main.java:8: 错误: 需要class, interface或enum
string s;
^
0_0_36533193_32703\Main.java:9: 错误: 需要class, interface或enum
char arr[3000];
^
0_0_36533193_32703\Main.java:10: 错误: 需要class, interface或enum
map<string, string>::reverse_iterator iter;
^
0_0_36533193_32703\Main.java:11: 错误: 需要class, interface或enum
while(cin>>s&&s!="END") {
^
0_0_36533193_32703\Main.java:13: 错误: 需要class, interface或enum
else {
^
0_0_36533193_32703\Main.java:15: 错误: 需要class, interface或enum
cin>>s1;
^
0_0_36533193_32703\Main.java:16: 错误: 需要class, interface或enum
map1.insert(make_pair<string,string>(s1,s));
^
0_0_36533193_32703\Main.java:17: 错误: 需要class, interface或enum
}
^
0_0_36533193_32703\Main.java:20: 错误: 需要class, interface或enum
while(getline(cin,s)) {
^
0_0_36533193_32703\Main.java:22: 错误: 需要class, interface或enum
int a=0;
^
0_0_36533193_32703\Main.java:23: 错误: 需要class, interface或enum
string s2;
^
0_0_36533193_32703\Main.java:24: 错误: 需要class, interface或enum
string s1;
^
0_0_36533193_32703\Main.java:25: 错误: 需要class, interface或enum
memset(arr,'0',sizeof(arr));
^
0_0_36533193_32703\Main.java:26: 错误: 需要class, interface或enum
if(s=="END") break;
^
0_0_36533193_32703\Main.java:27: 错误: 需要class, interface或enum
else if(s=="START") continue;
^
0_0_36533193_32703\Main.java:28: 错误: 需要class, interface或enum
else {
^
0_0_36533193_32703\Main.java:30: 错误: 需要class, interface或enum
for(int i=0; i<s.length(); i++) {
^
0_0_36533193_32703\Main.java:30: 错误: 需要class, interface或enum
for(int i=0; i<s.length(); i++) {
^
0_0_36533193_32703\Main.java:30: 错误: 需要class, interface或enum
for(int i=0; i<s.length(); i++) {
^
0_0_36533193_32703\Main.java:33: 错误: 需要class, interface或enum
} else if(arr[i]==' '||arr[i]=='\t'||arr[i]=='\n') {
^
0_0_36533193_32703\Main.java:34: 错误: 需要class, interface或enum
for(iter = map1.rbegin(); iter != map1.rend(); iter++) {
^
0_0_36533193_32703\Main.java:34: 错误: 需要class, interface或enum
for(iter = map1.rbegin(); iter != map1.rend(); iter++) {
^
0_0_36533193_32703\Main.java:37: 错误: 需要class, interface或enum
}
^
0_0_36533193_32703\Main.java:40: 错误: 需要class, interface或enum
s1+=arr[i];
^
0_0_36533193_32703\Main.java:41: 错误: 需要class, interface或enum
s2="";
^
0_0_36533193_32703\Main.java:42: 错误: 需要class, interface或enum
} else if(arr[i]<='a'||arr[i]>='z') {
^
0_0_36533193_32703\Main.java:43: 错误: 需要class, interface或enum
for(iter = map1.rbegin(); iter != map1.rend(); iter++) {
^
0_0_36533193_32703\Main.java:43: 错误: 需要class, interface或enum
for(iter = map1.rbegin(); iter != map1.rend(); iter++) {
^
0_0_36533193_32703\Main.java:46: 错误: 需要class, interface或enum
}
^
0_0_36533193_32703\Main.java:49: 错误: 需要class, interface或enum
s1+=arr[i];
^
0_0_36533193_32703\Main.java:50: 错误: 需要class, interface或enum
s2="";
^
0_0_36533193_32703\Main.java:51: 错误: 需要class, interface或enum
}
^
0_0_36533193_32703\Main.java:54: 错误: 需要class, interface或enum
}
^
39 个错误
|