#include <iostream> using namespace std; int main() { int year, month, day; int i = 0; int sum = 0; while ( cin >> year >> month >> day) { //1.要有一年的中的每一个月的天数,方便计算 int MonthDay[13] = {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; ...