#include<cstdio> int main() { int y, m, d, n; int flag; int sum; int days[2][12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; while (scanf("%d%d", &y, &n) != EOF) { ...