文章
16
粉丝
402
获赞
21
访问
156.6k
#include<bits/stdc++.h>
using namespace std;
int yuetianshu[13] = {0,31,28,31,30,31,30,31,31,30,31,30,31};
int main(){
int n = 0;
cin >> n;
int year,month,day;
for (int i = 0; i < n; i++){
cin >> year >> month >> day;
if (month == 12 && day == 31){
year ++;
month = 1;
day = 1;
&nb...
登录后发布评论
暂无评论,来抢沙发