#include<iostream>
#include<string>
#include<vector>
using namespace std;
void calculateAge(struct person&);
void preprocessInfo(struct person&);
bool compareAge(const struct person&, const struct person&);
struct person
{
string name;
string birthday;
int year,month,day,age;
bool validity;
};
const int now_year = 2014, now_month = 9, now_day = 6;
int main()
{
int N;
scanf_s("%d", &N);
vector<person>data;
person p;
for (int i = 0; i < N; i++)
{
cin >> p.name >> p.birthday;
preprocessInfo(p
1028 人口普查 (20 分)测试点4答案错误 求解
最新推荐文章于 2024-12-08 23:17:45 发布