0_0_33739425_30311\Main.java:1: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_33739425_30311\Main.java:1: 错误: 需要class, interface或enum
#include <cstdio>
^
0_0_33739425_30311\Main.java:3: 错误: 需要class, interface或enum
int isLeap(int y)
^
0_0_33739425_30311\Main.java:6: 错误: 需要class, interface或enum
}
^
0_0_33739425_30311\Main.java:10: 错误: 需要class, interface或enum
while (~scanf("%d%d%d", &y, &m, &d))
^
0_0_33739425_30311\Main.java:15: 错误: 需要class, interface或enum
continue;
^
0_0_33739425_30311\Main.java:16: 错误: 需要class, interface或enum
}
^
0_0_33739425_30311\Main.java:20: 错误: 需要class, interface或enum
continue;
^
0_0_33739425_30311\Main.java:21: 错误: 需要class, interface或enum
}
^
0_0_33739425_30311\Main.java:25: 错误: 需要class, interface或enum
continue;
^
0_0_33739425_30311\Main.java:26: 错误: 需要class, interface或enum
}
^
0_0_33739425_30311\Main.java:30: 错误: 需要class, interface或enum
continue;
^
0_0_33739425_30311\Main.java:31: 错误: 需要class, interface或enum
}
^
0_0_33739425_30311\Main.java:35: 错误: 需要class, interface或enum
y--;
^
0_0_33739425_30311\Main.java:36: 错误: 需要class, interface或enum
}
^
0_0_33739425_30311\Main.java:38: 错误: 需要class, interface或enum
y %= 100;//年份的后两位
^
0_0_33739425_30311\Main.java:39: 错误: 需要class, interface或enum
w = c/4 - c*2 + y + y/4 + 13 * (m + 1) / 5 + d - 1;//蔡勒公式
^
0_0_33739425_30311\Main.java:40: 错误: 需要class, interface或enum
w = (w % 7 + 7) % 7;//使结果为正数
^
0_0_33739425_30311\Main.java:41: 错误: 需要class, interface或enum
printf("%s\n", ans[w]);
^
0_0_33739425_30311\Main.java:42: 错误: 需要class, interface或enum
}
^
0_0_33739425_30311\Main.java:44: 错误: 需要class, interface或enum
}
^
21 个错误
|