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