#include #define MAX_N 100001 #define INF_INT 2147483647 #define INF_LL 9223372036854775807 #define REP(i,n) for(int i=0;i<(int)(n);i++) using namespace std; typedef long long int ll; typedef pair P; int main() { int N,a[1001],y,m,d; scanf("%d/%d/%d",&y,&m,&d); struct tm birthdayStruct = {0,0,0,d,m,y}; time_t now = mktime(&birthdayStruct); struct tm ts = {0,0,0,birthdayStruct.tm_mday+2,birthdayStruct.tm_mon,birthdayStruct.tm_year}; time_t tomm = mktime(&ts); struct tm *tt = localtime(&tomm); printf("%04d/%02d/%02d\n",tt->tm_year,tt->tm_mon,tt->tm_mday); return 0; }