#include <stdio.h> int main() { int days[13]={0,31,28,31,30,31,30,31,31,30,31,30,31}; int year=0; int m=0; while ( scanf("%d %d",&year,&m)==2) { int day=days[m]; if((m==2)&&(((year%4==0)&&(year%100!=0))||(year%400==0))) { ...