#include
using namespace std;
class Date{
int year;
int month;
int day;
public:
Date(int _y,int _m,int _d){
year=_y;
month=_m;
day=_d;
}
friend ostream& operator<<(ostream &os, const Date &a);
};
ostream& operator<<(ostream &os,const Date &a) {
os<return os;
}
int main()
{
int year,month,day;
cin>>year>>month>>day;
Date date1(year,month,day);
cout<return 0;
}
新鲜出炉。Dev C++ 测试通过。