题解 | #四季#
四季
http://www.nowcoder.com/practice/eaf21203b61b4a689987fdc165d00dfc
#include <stdio.h>
int main()
{
int n = 0;
scanf("%d",&n);
int year = n/100;
int month = n%100;
if(month>=3&&month<=5) printf("spring\n");
else if(month>=9&&month<=11) printf("autumn\n");
else if(month>=6&&month<=8) printf("summer\n");
else printf("winter\n");
return 0;
}