#include <iostream> #include <vector> using namespace std; int main() { vector<int> vec = {31,28,31,30,31,30,31,31,30,31,30,31};//平年2月份28天。闰年29天 int tmp = 29; int num, days = 0; while (cin >> num){ if (num % 4 == 0 ){ if (num % 100 == 0){...