day of the week of 2018 by push_back

for(r=readline(),D=m=0;m<12;m++,print(a))for(a=("0"+(1+m)).slice(-2)+":",d=1;d<[4,1,4,3,4,3,4,4,3,4,3,4][m]+28;d++)if("SuMoTuWeThFrSa".substr(++D%7*2,2)==r[0]+r[1])a+=" "+("0"+d).slice(-2)

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page