#include<cstdio> bool ISrun(int n){ if( n % 400 == 0 || n % 4 == 0 && n%100 != 0){ return true; }else{ return false; } } int main(){ int year,mon,day; int DAYS[12]={31,28,31,30,31,30,31,31,30,31,30,31}; while(scanf("%d%d%d",&year,&mon,&day) != EOF){ ...