day of the week of 2018 by tails

m,i;main(d){for(d=getchar()%3*2+2;i++<52;d+=7,d%=m-2?m^m>7|30:28)printf("\n%02d: %2$02d"+(d<7?++m<2:6),m,d+1);}

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