static void Main()
{
Func<int, int> w = t => (t + (t >> 31)) ^ (t >> 31);
Func<int, int> r = t => -(-t >> 31);
Func<bool> z = () => { Thread.Sleep(20);
return true; };
Func<string, bool> a = s => { Console.Write(s);
return true; };
Func<int, int, bool> b = null;
b = (n, k) => k <= n && (Console.ForegroundColor =
(ConsoleColor)(r(k & (n - k)) + 1))
!= null && a("8") && b(n, k + 1);
Func<int, bool> c = null;
c = n => a("".PadLeft(40 - w(n) / 2, ' ')) &&
(b(w(n), 0) || true) && z() && a("\n") &&
(w(n) < 75 || n < 0) && c(n + 1);
Func<bool> d = null;
c(0);
d = () => (c(-75) || true) && d();
d();
}
Wednesday, April 27, 2011
Labels:
code
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment