0_0_28202008_21769\Main.java:3: 错误: 非法字符: '#'
#include <iostream>
^
0_0_28202008_21769\Main.java:3: 错误: 需要class, interface或enum
#include <iostream>
^
0_0_28202008_21769\Main.java:4: 错误: 非法字符: '#'
#include <string>
^
0_0_28202008_21769\Main.java:5: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_28202008_21769\Main.java:6: 错误: 非法字符: '#'
#include <set>
^
0_0_28202008_21769\Main.java:7: 错误: 非法字符: '#'
#include <map>
^
0_0_28202008_21769\Main.java:8: 错误: 非法字符: '#'
#include <cctype>
^
0_0_28202008_21769\Main.java:12: 错误: 需要class, interface或enum
int main()
^
0_0_28202008_21769\Main.java:15: 错误: 需要class, interface或enum
string s;
^
0_0_28202008_21769\Main.java:16: 错误: 需要class, interface或enum
multimap<string, string> mm;
^
0_0_28202008_21769\Main.java:18: 错误: 需要class, interface或enum
while(cin >> s && s != "::")
^
0_0_28202008_21769\Main.java:20: 错误: 需要class, interface或enum
getline(cin, s);
^
0_0_28202008_21769\Main.java:22: 错误: 需要class, interface或enum
while(getline(cin, s)) {
^
0_0_28202008_21769\Main.java:24: 错误: 需要class, interface或enum
for(int i = 0; s[i]; i++) {
^
0_0_28202008_21769\Main.java:24: 错误: 需要class, interface或enum
for(int i = 0; s[i]; i++) {
^
0_0_28202008_21769\Main.java:24: 错误: 需要class, interface或enum
for(int i = 0; s[i]; i++) {
^
0_0_28202008_21769\Main.java:26: 错误: 需要class, interface或enum
int j = i;
^
0_0_28202008_21769\Main.java:27: 错误: 需要class, interface或enum
while(s[j] && isalpha(s[j])) j++;
^
0_0_28202008_21769\Main.java:28: 错误: 需要class, interface或enum
string key(s, i, j - i);
^
0_0_28202008_21769\Main.java:29: 错误: 需要class, interface或enum
if(!ignore.count(key)) {
^
0_0_28202008_21769\Main.java:31: 错误: 需要class, interface或enum
string tmp(s);
^
0_0_28202008_21769\Main.java:32: 错误: 需要class, interface或enum
tmp.replace(i, j - i, key);
^
0_0_28202008_21769\Main.java:33: 错误: 需要class, interface或enum
mm.insert(make_pair(key, tmp));
^
0_0_28202008_21769\Main.java:34: 错误: 需要class, interface或enum
}
^
0_0_28202008_21769\Main.java:36: 错误: 需要class, interface或enum
}
^
0_0_28202008_21769\Main.java:39: 错误: 需要class, interface或enum
for(map<string, string>::const_iterator iter = mm.begin(); iter != mm.end(); iter++)
^
0_0_28202008_21769\Main.java:39: 错误: 需要class, interface或enum
for(map<string, string>::const_iterator iter = mm.begin(); iter != mm.end(); iter++)
^
0_0_28202008_21769\Main.java:42: 错误: 需要class, interface或enum
return 0;
^
0_0_28202008_21769\Main.java:43: 错误: 需要class, interface或enum
}
^
29 个错误
|