#include <iostream> #include <algorithm> using namespace std; class Date { public: Date(int year, int month, int day) : _year(year), _month(month), _day(day) {} bool operator==(const Date& d) const { return _year == d._year && _month == d._month && _day == d._day; } b...