0_0_16359270_28842\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_16359270_28842\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
^
0_0_16359270_28842\Main.java:3: 错误: 需要class, interface或enum
using std::cout;
^
0_0_16359270_28842\Main.java:4: 错误: 需要class, interface或enum
using std::endl;
^
0_0_16359270_28842\Main.java:6: 错误: 需要class, interface或enum
int date[]={31,28,31,30,31,30,31,31,30,31,30,31};
^
0_0_16359270_28842\Main.java:8: 错误: 需要class, interface或enum
void leap_year(int);
^
0_0_16359270_28842\Main.java:9: 错误: 需要class, interface或enum
void calculate_date(int, int, int);
^
0_0_16359270_28842\Main.java:11: 错误: 需要class, interface或enum
int main()
^
0_0_16359270_28842\Main.java:15: 错误: 需要class, interface或enum
while(scanf("%d/%d/%d",&year,&month,&day)!=EOF){
^
0_0_16359270_28842\Main.java:17: 错误: 需要class, interface或enum
}
^
0_0_16359270_28842\Main.java:19: 错误: 需要class, interface或enum
}
^
0_0_16359270_28842\Main.java:25: 错误: 需要class, interface或enum
}
^
0_0_16359270_28842\Main.java:31: 错误: 需要class, interface或enum
leap_year(y);
^
0_0_16359270_28842\Main.java:32: 错误: 需要class, interface或enum
for(int i=1; i<m-1; ++i){
^
0_0_16359270_28842\Main.java:32: 错误: 需要class, interface或enum
for(int i=1; i<m-1; ++i){
^
0_0_16359270_28842\Main.java:32: 错误: 需要class, interface或enum
for(int i=1; i<m-1; ++i){
^
0_0_16359270_28842\Main.java:34: 错误: 需要class, interface或enum
}
^
0_0_16359270_28842\Main.java:37: 错误: 需要class, interface或enum
cout<<sum<<endl;
^
0_0_16359270_28842\Main.java:38: 错误: 需要class, interface或enum
}
^
19 个错误
|