#include <iostream> using namespace std; int main() { int m = 0; cin >> m; while (m--) { int y = 0, m = 0, d = 0, add = 0; cin >> y >> m >> d >> add; static int array[13] = {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; ...