You are viewing a single comment's thread. Return to all comments →
C++
string solve(int y){ int d = 13; if(!(y%4) && (y < 1918 || y%100 || !(y%400))) d--; if(y == 1918) d = 26; return to_string(d) + ".09." + to_string(y); }
Seems like cookies are disabled on this browser, please enable them to open this website
Day of the Programmer
You are viewing a single comment's thread. Return to all comments →
C++