#include <cstdio> #include <iostream> using namespace std; int mon[130]={0,31,28,31,30,31,30,31,31,30,31,30,31}; bool run(int year){ return year%4==0&&year%100!=0 || year%400 == 0; } int main() { int m,a,b,c; cin>>m; while(m--){ mon[2] = 28; ...