0_0_22124262_31276\Main.java:1: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_22124262_31276\Main.java:1: 错误: 需要class, interface或enum
#include <cstdio>
^
0_0_22124262_31276\Main.java:2: 错误: 非法字符: '#'
#include <iostream>
^
0_0_22124262_31276\Main.java:3: 错误: 非法字符: '#'
#include <map>
^
0_0_22124262_31276\Main.java:5: 错误: 需要class, interface或enum
map<string,int> mp;
^
0_0_22124262_31276\Main.java:7: 错误: 需要class, interface或enum
int main()
^
0_0_22124262_31276\Main.java:10: 错误: 需要class, interface或enum
mp["ox"]=2;
^
0_0_22124262_31276\Main.java:11: 错误: 需要class, interface或enum
mp["tiger"]=3;
^
0_0_22124262_31276\Main.java:12: 错误: 需要class, interface或enum
mp["rabbit"]=4;
^
0_0_22124262_31276\Main.java:13: 错误: 需要class, interface或enum
mp["dragon"]=5;
^
0_0_22124262_31276\Main.java:14: 错误: 需要class, interface或enum
mp["snake"]=6;
^
0_0_22124262_31276\Main.java:15: 错误: 需要class, interface或enum
mp["horse"]=7;
^
0_0_22124262_31276\Main.java:16: 错误: 需要class, interface或enum
mp["sheep"]=8;
^
0_0_22124262_31276\Main.java:17: 错误: 需要class, interface或enum
mp["monkey"]=9;
^
0_0_22124262_31276\Main.java:18: 错误: 需要class, interface或enum
mp["rooster"]=10;
^
0_0_22124262_31276\Main.java:19: 错误: 需要class, interface或enum
mp["dog"]=11;
^
0_0_22124262_31276\Main.java:20: 错误: 需要class, interface或enum
mp["pig"]=12;
^
0_0_22124262_31276\Main.java:21: 错误: 需要class, interface或enum
int T;
^
0_0_22124262_31276\Main.java:22: 错误: 需要class, interface或enum
cin>>T;
^
0_0_22124262_31276\Main.java:23: 错误: 需要class, interface或enum
while(T--)
^
0_0_22124262_31276\Main.java:26: 错误: 需要class, interface或enum
cin>>s>>t;
^
0_0_22124262_31276\Main.java:27: 错误: 需要class, interface或enum
int a=mp[s],b=mp[t];
^
0_0_22124262_31276\Main.java:28: 错误: 需要class, interface或enum
if(b>a) cout<<b-a<<endl;
^
0_0_22124262_31276\Main.java:29: 错误: 需要class, interface或enum
else if(b<a) cout<<b+12-a<<endl;
^
0_0_22124262_31276\Main.java:30: 错误: 需要class, interface或enum
else cout<<12<<endl;
^
0_0_22124262_31276\Main.java:31: 错误: 需要class, interface或enum
}
^
26 个错误
|