#include <stdio.h> int main() { int a, b,c; while (scanf("%d %d %d", &a, &b,&c) != EOF) { // 注意 while 处理多个 case int arr[12] = {31,28,31,30,31,30,31,31,30,31,30,31}; if((a%4 == 0 && a%100 != 0) || a%400 == 0) arr[1] = 29; ...