#include #include #include int main(void) { int y, m, d; scanf( "%d/%d/%d", &y, &m, &d ); struct tm tm = { 0, 0, 0, d, m-1, y-1900 }; time_t time = mktime( &tm ) + 86400 * 2; struct tm *ltime = localtime( &time ); printf( "%d/%02d/%02d", ltime->tm_year + 1900, ltime->tm_mon + 1, ltime->tm_mday ); }