Day of the Week by kurimura

import std.stdio,std.string;extern(C)int strptime(in char*,...);void main(){string s;for(int[9]t;s=tr(readln," ","-"),s;)strptime(&*s,&*"%F",&*t),writeln(t[6]);}

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

download

return to the top page