//C++版代码 #include <iostream> #include <iomanip> using namespace std; int main() { int m; cin >> m; int days[] = {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; while (m--) { int year, month, day, add; cin >> year >> month >> da...