public static void main(String[] args) {
int i, n[] = {
(((1 << 1) << (1 << 1) << (1 << 1) << (1 << (1 >> 1))) + ((1 << 1) << (1 << 1))),
(((1 << 1) << (1 << 1) << (1 << 1) << (1 << 1))
- ((1 << 1) << (1 << 1) << (1 << 1))
+ ((1 << 1) << (1 << (1 >> 1))) + (1 << (1 >> 1))),
(((1 << 1) << (1 << 1) << (1 << 1) << (1 << 1))
- ((1 << 1) << (1 << 1) << (1 << (1 >> 1))) - ((1 << 1) << (1 << (1 >> 1)))),
(((1 << 1) << (1 << 1) << (1 << 1) << (1 << 1))
- ((1 << 1) << (1 << 1) << (1 << (1 >> 1))) - ((1 << 1) << (1 << (1 >> 1)))),
(((1 << 1) << (1 << 1) << (1 << 1) << (1 << 1))
- ((1 << 1) << (1 << 1) << (1 << (1 >> 1))) - (1 << (1 >> 1))),
(((1 << 1) << (1 << 1) << (1 << 1))
+ ((1 << 1) << (1 << 1) << (1 << (1 >> 1))) - ((1 << 1) << (1 << (1 >> 1)))),
((1 << 1) << (1 << 1) << (1 << 1)),
(((1 << 1) << (1 << 1) << (1 << 1) << (1 << 1))
- ((1 << 1) << (1 << 1)) - (1 << (1 >> 1))),
(((1 << 1) << (1 << 1) << (1 << 1) << (1 << 1))
- ((1 << 1) << (1 << 1) << (1 << (1 >> 1))) - (1 << (1 >> 1))),
(((1 << 1) << (1 << 1) << (1 << 1) << (1 << 1))
- ((1 << 1) << (1 << 1) << (1 << (1 >> 1))) + (1 << 1)),
(((1 << 1) << (1 << 1) << (1 << 1) << (1 << 1))
- ((1 << 1) << (1 << 1) << (1 << (1 >> 1))) - ((1 << 1) << (1 << (1 >> 1)))),
(((1 << 1) << (1 << 1) << (1 << 1) << (1 << 1))
- ((1 << 1) << (1 << 1) << (1 << 1)) + ((1 << 1) << (1 << (1 >> 1)))),
(((1 << 1) << (1 << 1) << (1 << 1)) + (1 << (1 >> 1))),
(((1 << 1) << (1 << 1)) + ((1 << 1) << (1 << (1 >> 1))) + (1 << (1 >> 1))) };
for (i = (1 >> 1); i < (((1 << 1) << (1 << 1))
+ ((1 << 1) << (1 << (1 >> 1))) + (1 << 1)); i++)
System.out.print((char) n[i]);
}
c版本原文:http://coolshell.cn/articles/914.html