#include<iostream>
using namespace std;
class time//时间类
{
int year;
int mouth;
int day;
public:
time(int x,int y,int z)//构造函数设置时间
{
year=x;
mouth=y;
day=z;
}
time()
{
year=2018;
mouth=6;
day=30;
}
using namespace std;
class time//时间类
{
int year;
int mouth;
int day;
public:
time(int x,int y,int z)//构造函数设置时间
{
year=x;
mouth=y;
day=z;
}
time()
{
year=2018;
mouth=6;
day=30;
}