Day of the Week by 51b(date)

t[];main(s){for(;gets(&s);t[6]+=48,puts(t+6))strptime(&s,"%Y%m%d",t);}

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

download

return to the top page