electronic dice by darefilz

using C=System.Console;class P{static void Main(){for(string s;(s=C.ReadLine())!=null;C.WriteLine())C.WriteLine(new System.Collections.Generic.Dictionary<string,string>(){{"1","0 0 0\n0 1 0\n0 0 0"},{"2","0 0 1\n0 0 0\n1 0 0"},{"3","1 0 0\n0 1 0\n0 0 1"},{"4","1 0 1\n0 0 0\n1 0 1"},{"5","1 0 1\n0 1 0\n1 0 1"},{"6","1 0 1\n1 0 1\n1 0 1"}}[s]);}}

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

download

return to the top page