#include <stdio.h> #define bool int #define TRUE 1 #define FALSE 0 //今天是今年的第几天 int mDays[13] = {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; int main() { int year, month, day; //年月日 while(scanf("%d %d %d", &year, &month, &day) != EOF){ bool isLeapYear = FALSE; ...