#include <stdio.h> int table[2][13] = {{0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}, {0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31} }; int main() { int count; int year, month, day; scanf("%d", &count); while (count--) { scanf("%d %d %d", &year, &month, &...