摘要:
#include using namespace std;int normal_month[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};int leap_month[12] = {31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};struct MyDate { int year; int month; int day;};bool is_leap_year(int temp_year) { if ((temp_year % 4 == 0) && (temp_y...
阅读全文