0_0_13701309_10804\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_13701309_10804\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
^
0_0_13701309_10804\Main.java:5: 错误: 需要class, interface或enum
char *name[]={"Monday","Tuesday","Wednesday",
^
0_0_13701309_10804\Main.java:8: 错误: 需要class, interface或enum
int solve(int y,int m,int d){
^
0_0_13701309_10804\Main.java:10: 错误: 需要class, interface或enum
if(m==1 || m==2) m+=12,y--;
^
0_0_13701309_10804\Main.java:11: 错误: 需要class, interface或enum
if(y<1752 || (y==1752 && m<9) || (y==1752 && m==9 && d<3))
^
0_0_13701309_10804\Main.java:13: 错误: 需要class, interface或enum
else ans=(d+2*m+3*(m+1)/5+y+y/4-y/100+y/400)%7;
^
0_0_13701309_10804\Main.java:14: 错误: 需要class, interface或enum
printf("%s\n",name[ans]);
^
0_0_13701309_10804\Main.java:15: 错误: 需要class, interface或enum
}
^
0_0_13701309_10804\Main.java:19: 错误: 需要class, interface或enum
if(y%4==0 && y%100 || y%400){
^
0_0_13701309_10804\Main.java:21: 错误: 需要class, interface或enum
}else if(m==2 && d>28) return 0;
^
0_0_13701309_10804\Main.java:22: 错误: 需要class, interface或enum
if(m==4 || m==6 || m==9 || 11)
^
0_0_13701309_10804\Main.java:24: 错误: 需要class, interface或enum
return 1;
^
0_0_13701309_10804\Main.java:25: 错误: 需要class, interface或enum
}
^
0_0_13701309_10804\Main.java:29: 错误: 需要class, interface或enum
while(cin>>a>>b>>c){
^
0_0_13701309_10804\Main.java:31: 错误: 需要class, interface或enum
else solve(a,b,c);
^
0_0_13701309_10804\Main.java:32: 错误: 需要class, interface或enum
}
^
0_0_13701309_10804\Main.java:34: 错误: 需要class, interface或enum
}
^
18 个错误
|