#include<stdio.h>
void total(int year,int month,int day){
int i,j,total;
total=0;
for(j=1990;j<year;j++){
if((year%4==0&&year%100!=0)||year%400==0){
total+=366;
}
else total=365;
}
for(i=1;i<month;i++){
switch(i){
case 1:case 3:case 5:case 7:case 8:case 10:case 12:
total+=31;
break;
case 4:case 6:case 9:case 11:
total+=30;
break;
case 2:
if((year%4==0&&year%100!=0)||year%400==0){
total+=29;
}
else total+=28;
break;
}
}
total=total+day;
if(total%5>0&&total%5<4){
printf("这天打鱼");
}
else printf("这天晒网");
}
int main(){
int year,month,day;
scanf("%d %d %d",&year,&month,&day);
total(year,month,day);
return 0;
}
02-27
6435
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
05-09
1万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
03-07
05-28
2231
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
01-09
5905
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
04-11
9924
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)