文章

20

粉丝

0

获赞

78

访问

14.8k

头像
日期类 题解:
P1437 北京理工大学机试题
发布于 2026年3月
阅读数 864

#include<bits/stdc++.h>
using namespace std;

vector<int> y;
vector<int> m;
vector<int> d;

int main(){
    int n, y1, m1, d1;
    cin >> n;
    int mtod[] = {0,
        31, 28, 31, 30, 
        31, 30, 31, 31,
        30, 31, 30, 31,
    };
    for(int i = 0; i < n; i++){
        cin >> y1 >> m1 >> d1;
        y.push_back(y1);
        m.push_back(m1);
       ...

登录查看完整内容


登录后发布评论

暂无评论,来抢沙发