#include <stdio.h> #define bool int #define true 1 #define false 0 int days(int flag,int month){//每月有天 int Day[2][13]={ {0,31,28,31,30,31,30,31,31,30,31,30,31}, {0,31,29,31,30,31,30,31,31,30,31,30,31} }; return Day[flag][month]; } bool isRun(int year){//判断是否是闰年 ...