#include #include "boost/date_time/gregorian/gregorian.hpp" #define rep(i, ss, ee) for (int i = ss; i < ee; ++i) using namespace std; void solve() { using namespace boost::gregorian; string ds; // = "2000/1/1"; cin >> ds; date d(from_string(ds)); d += days(2); // int yy = d.year(); // int mm = d.month(); // int dd = d.day(); // printf("%04d/%02d/%02d\n", yy, mm, dd); printf("%04d/%02d/%02d\n", d.year(), d.month(), d.day()); } int main() { cin.tie(0); ios::sync_with_stdio(false); solve(); getchar(); }