首页  >  文章  >  后端开发  >  如何写一个让人看不懂的优雅的「Hello World」?

如何写一个让人看不懂的优雅的「Hello World」?

WBOY
WBOY原创
2016-06-06 16:23:081968浏览

用你最喜欢的语言,写最优雅的「Hello World」

回复内容:

知乎的代码高亮不给力,于是在 github 写了一个:点此全屏查看:gist.github.com/justjav

下面的图片是代码的截图。也许你觉得,不就是拼几个汉字吗,有什么神奇的?

但是,这段代码居然可以运行!!! 并输出 hello world!!!你说气人不!!!

如何写一个让人看不懂的优雅的「Hello World」? 如何写一个让人看不懂的优雅的「Hello World」?
<code class="language-text">((((((((((3827/907200 - (6607 (# - 11))/9979200) (# - 10) - 907/
                    40320) (# - 9) + 97/1008) (# - 8) - 391/
                    1260) (# - 7) + 27/40) (# - 6) - 3/4) (# - 5) - 5/
                24) (# - 4) + 5/2) (# - 3) - 11) (# - 2) + 29) (# - 
       1) + 72 &~Array~12 // FromCharacterCode
</code>
如何写一个让人看不懂的优雅的「Hello World」?
这个何如?反正我看不懂。

参考:空白(编程语言) - 维基百科,免费百科全书
en.wikipedia.org/wiki/W [][(![] [])[!![] !![] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ ! ![]] ({}[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]](( {}[[]] [])[!![] !![]] ({} [])[ !![]] ({} [])[!![] !![] !![] !![] !![]] ({}[[]] [])[ []] [][(![] [])[!![] !![] !![]] ({} [])[!![]](!![][])[!![]](!![][])[[]]][({}[])[!![]!! [] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![] []) [!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] []) [ []] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} []) [!![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[!![] ! ![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({ }[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] !![]] ({}[[]] [])[ []] ({}[[]] [])[ !![]] (!![] [])[!![] !![] !![ ]] (![] [])[!![] !![] !![]] ({} [])[!![] !![] !![] !![] !![] ] (![] [])[ !![]] ([] [][(![] [])[!![] !![] !![]] ({} [])[ !! []] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![] [])[!![] ! ![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({ } [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[!![] !![] !![ ]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[[]] [ ])[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] !![]] (![] [] )[!![] !![]] ({} [])[ !![]] ({} [])[!![] !![] !![] !![] !![] ] (![] [])[ !![]] (!![] [])[ []] ({}[[]] [])[!![] !![] !![] ! ![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]])())[!![] !![] ! ![]] (!![] [])[!![] !![] !![]])()([][(![] [])[!![] !![] ! ![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} []) [!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({} [[]] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ [] ] ({} [])[ !![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![] [] )[!![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] !! []!![]](!![][])[!![]!![]!![]](![][])[!![]!![]!![]] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![]] ([] [][(![ ] [])[!![] !![] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [ ])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({ }[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (!! [] [])[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![] !! []] (!![] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]]((!![] [] )[ !![]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({}[[]] [] )[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] !![]] (![] [])[!![] !![]] ({} [])[ !![]] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![]] (!![] [])[ []] ({}[[]] [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({} [[]] [])[!![]])())[!![]!![]!![]] (!![][])[!![]!![]!! []])()(({} [])[ []])[ []] (!![] !![] !![] !![] !![] !![] []) ({}[[]] [])[!![] !![]]) (!![] [])[!![] !![] !![]] ({}[[]] [])[!![]] (!![] [])[ []] [][(![] [])[!![] !![] !![]] ({} [] )[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![] [])[! ![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ [ ]] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ ! ![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[!![] !![ ] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[ []] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] !![]] ({ }[[]] [])[ []] ({}[[]] [])[ !![]] (!![] [])[!![] !![] !![]] (![] [])[!![] !![] !![]] ({} [])[!![] !![] !![] !![] !![]] ( ![] [])[ !![]] ([] [][(![] [])[!![] !![] !![]] ({} [])[ !![] ] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !! [] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![] [])[!![] !![ ] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({} [ ])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ !![]] (! ![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[[]] []) [ !![]] ({} [])[!![] !![] !![] !![] !![] !![] !![]] (![] [])[ !![] !![]] ({} [])[ !![]] ({} [])[!![] !![] !![] !![] !![]] ( ![] [])[ !![]] (!![] [])[ []] ({}[[]] [])[!![] !![] !![] !![ ] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]])())[!![] !![] !![ ]] (!![] [])[!![] !![] !![]])()([][(![] [])[!![] !![] !![ ]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[! ![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (! [] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[ ]] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ( {} [])[ !![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[ !![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!! []!![]!![]!![]!![]!![]!![]](!![][])[!![]!![]!![]]( ![] [])[!![] !![] !![]] ({} [])[!![] !![] !![] !![] !![]] (! [] [])[ !![]] ([] [][(![] [])[!![] !![] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !![ ] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({} [] )[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ !![]] (!! [] [])[ !![]]]((!![] [])[ !![]] (!![] [])[!![] !![] !![]] ( !![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] !![]] (![] [])[! ![] !![]] ({} [])[ !![]] ({} [])[!![] !![] !![] !![] !![]] (! [] [])[ !![]] (!![] [])[ []] ({}[[]] [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]])())[!![] !![] !![] ] (!![] [])[!![] !![] !![]])()(({} [])[ []])[ []] (!![] !![ ] []) (!![] [])[!![] !![] !![]]) [][(![] [])[!![] !![] !![] ] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!! [] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![ ] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[] ] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({ } [])[ !![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[! ![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![ ]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] ! ![]] ({}[[]] [])[ []] ({}[[]] [])[ !![]] (!![] [])[!![] !![ ] !![]] (![] [])[!![] !![] !![]] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![]] ([] [][(![] [])[!![] !![] !![]] ({} [] )[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![] [])[! ![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ [ ]] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ ! ![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[!![] !![ ] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[ []] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] !![]] (! [] [])[!![] !![]] ({} [])[ !![]] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![]] (!![] [])[ []] ({}[[]] [])[!![] !![] ! ![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]])())[!![] ! ![] !![]] (!![] [])[!![] !![] !![]])()([][(![] [])[!![] ! ![] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({ } [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ ! ![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![] ] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] [] )[ []] ({} [])[ !![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!! [] [])[!![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !! []!![]!![]](!![][])[!![]!![]!![]](![][])[!![]!![]! ![]] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![]] ([] [] [(![] [])[!![] !![] !![]] ({} [])[ !![]] (!![] [])[ !![]] (! ![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ !![ ]] ({}[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ [] ] (!![] [])[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !! [] !![]] (!![] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]]((!! [] [])[!![]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({}[[ ]] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] !![]] (![] [])[!![] !![]] ({} [])[ ! ![]] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![]] (!![] [])[ []] ({}[[]] [])[!![] !![] !![] !![] !![]] ({} [])[ !![] ] ({}[[]] [])[ !![]])())[!![] !![] !![]] (!![] [])[!![] !! [] !![]])()(({} [])[ []])[ []] (!![] !![] !![] !![] !![] !![ ] !![] []) (!![] !![] !![] !![] !![] !![] !![] [])) (!![] [])[ !![]] ({}[[]] [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ( !![] [])[!![] !![] !![]] [][(![] [])[!![] !![] !![]] ({} [] )[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![] [])[! ![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ [ ]] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ ! ![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[!![] !![ ] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[ []] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] !![]] ({ }[[]] [])[ []] ({}[[]] [])[ !![]] (!![] [])[!![] !![] !![]] (![] [])[!![] !![] !![]] ({} [])[!![] !![] !![] !![] !![]] ( ![] [])[ !![]] ([] [][(![] [])[!![] !![] !![]] ({} [])[ !![] ] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !! [] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![] [])[!![] !![ ] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({} [ ])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ !![]] (! ![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[[]] []) [ !![]] ({} [])[!![] !![] !![] !![] !![] !![] !![]] (![] [])[ !![] !![]] ({} [])[ !![]] ({} [])[!![] !![] !![] !![] !![]] ( ![] [])[ !![]] (!![] [])[ []] ({}[[]] [])[!![] !![] !![] !![ ] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]])())[!![] !![] !![ ]] (!![] [])[!![] !![] !![]])()([][(![] [])[!![] !![] !![ ]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({}[])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !! []] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] []) [ []] ({} [])[ !![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![ ] [])[!![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [ ])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !![ ] !![] !![]] (!![] [])[!![] !![] !![]] (![] [])[!![] !![] !! []] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![]] ([] [][ (![] [])[!![] !![] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!! [] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ !![] ] ({}[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![ ] !![]] (!![] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]]((!![ ] [])[!![]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({}[[] ] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] ! ![] !![] !![] !![] !![] !![]] (![] [])[!![] !![]] ({} [])[ !! []] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![]] (!![] [ ])[ []] ({}[[]] [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[!![]])())[!![] !![] !![]] (!![] [])[!![] !![ ] !![]])()(({} [])[ []])[ []] (!![] !![] []) (!![] !![] !![] !![] !![] !![] !![] !![] [])) [][(![] [])[!![] !![] !![]] ({ } [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] ! ![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![] [] )[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [] )[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [] )[ !![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ( {}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] !![] ] ({}[[]] [])[ []] ({}[[]] [])[ !![]] (!![] [])[!![] !![] !! []] (![] [])[!![] !![] !![]] ({} [])[!![] !![] !![] !![] !![ ]] (![] [])[ !![]] ([] [][(![] [])[!![] !![] !![]] ({} [])[ ! ![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![ ] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ( {} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ !![] ] (!![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[!![] !![] !! []] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] !![]] (![] [ ])[!![] !![]] ({} [])[ !![]] ({} [])[!![] !![] !![] !![] !![ ]] (![] [])[ !![]] (!![] [])[ []] ({}[[]] [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]])())[!![] !![] !![]] (!![] [])[!![] !![] !![]])()([][(![] [])[!![] !![] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [] )[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![] ] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({ }[[]] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ [ ]] ({} [])[ !![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![] [ ])[!![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] []) [!![]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] ! ![] !![]] (!![] [])[!![] !![] !![]] (![] [])[!![] !![] !![] ] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![]] ([] [][(! [] [])[!![] !![] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ( {}[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (! ![] [])[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![] ! ![]] (!![] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]]((!![] [ ])[ !![]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({}[[]] [ ])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] !![ ] !![] !![] !![] !![] !![]] (![] [])[!![] !![]] ({} [])[ !![] ] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![]] (!![] []) [ []] ({}[[]] [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({ }[[]] [])[!![]])())[!![] !![] !![]] (!![] [])[!![] !![] ! ![]])()(({} [])[ []])[ []] (!![] !![] []) (!![] !![] [])) ([ ] [][(![] [])[!![] !![] !![]] ({} [])[ !![]] (!![] [])[ !![] ] (!![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] []) [ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![ ] !![] !![]] (!![] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]]( (!![] [])[ !![]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({ }[[]] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[! ![] !![] !![] !![] !![] !![] !![]] (![] [])[!![] !![]] ({} [] )[ !![]] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![]] (! ![] [])[ []] ({}[[]] [])[!![] !![] !![] !![] !![]] ({} [])[ ! ![]] ({}[[]] [])[ !![]])())[ []] (!![] [])[!![] !![] !![]] (![] [])[!![] !![]] (![] [])[!![] !![]] ({} [])[ !![]] ({} [ ])[!![] !![] !![] !![] !![] !![] !![]] [][(![] [])[!![] !![ ] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [ ])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![ ]] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ( {}[[]] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [] )[ !![]] ({}[[]] [])[ !![]] ({}[])[!![] !![] !![] !![] !![] !![] !![]] ({}[[]] [])[ []] ({} [[]] [])[!![]] (!![] [])[!![] !![] !![]] (![] [])[!![] !![ ] !![]] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![]] ([] [][(![] [])[!![] !![] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ ! ![]] ({}[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]](( !![] [])[ !![]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({} [[]] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!! [] !![] !![] !![] !![] !![] !![]] (![] [])[!![] !![]] ({} []) [ !![]] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![]] (!! [] [])[ []] ({}[[]] [])[!![] !![] !![] !![] !![]] ({} [])[ !! []] ({}[[]] [])[!![]])())[!![] !![] !![]] (!![] [])[!![] !![] !![]])()([][(![] [])[!![] !![] !![]] ({} [])[ !![]] ( !![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![] [])[!![] !![] ! ![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({} []) [!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ !![]] (!![ ] [])[!![]]]((!![][])[!![]](!![][])[!![]!![]!![]](! ![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ ! ![]] ({} [])[!![] !![] !![] !![] !![] !![] !![]] (!![] [])[! ![] !![] !![]] (![] [])[!![] !![] !![]] ({} [])[!![] !![] !! [] !![] !![]] (![] [])[ !![]] ([] [][(![] [])[!![] !![] !![] ] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!! [] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![ ] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[] ] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({ } [])[ !![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[! ![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![ ]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] ! ![]] (![] [])[!![] !![]] ({} [])[ !![]] ({} [])[!![] !![] !! [] !![] !![]] (![] [])[ !![]] (!![] [])[ []] ({}[[]] [])[!![ ] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]])()) [!![] !![] !![]] (!![] [])[!![] !![] !![]])()(({} [])[ []] )[ []] (!![] !![] !![] !![] !![] !![] !![] []) (!![] !![] !![] !![] !![] !![] !![] [])) ({} [])[ !![]] (!![] [])[ !![]] (![] [])[!![] !![]] ({}[[]] [])[!![] !![]] [][(![] [])[!![] !! [] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !! []] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] []) [ []] ({} [])[ !![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![ ] [])[!![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [ ])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !![ ] !![] !![]] ({}[[]] [])[ []] ({}[[]] [])[ !![]] (!![] [])[! ![] !![] !![]] (![] [])[!![] !![] !![]] ({} [])[!![] !![] !! [] !![] !![]] (![] [])[ !![]] ([] [][(![] [])[!![] !![] !![] ] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!! [] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![ ] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[] ] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({ } [])[ !![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[! ![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![ ]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] ! ![]] (![] [])[!![] !![]] ({} [])[ !![]] ({} [])[!![] !![] !! [] !![] !![]] (![] [])[ !![]] (!![] [])[ []] ({}[[]] [])[!![ ] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]])()) [!![] !![] !![]] (!![] [])[!![] !![] !![]])()([][(![] []) [!![] !![] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ [ ]]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[] ] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [] )[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![] !![]] ( !![] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]]((!![] [])[ !! []] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ [] ] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] !![]] (!![] [])[!![] !![] !![]] (![] [])[!![ ] !![] !![]] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![] ] ([] [][(![] [])[!![] !![] !![]] ({} [])[ !![]] (!![] [])[ ! ![]] (!![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [ ])[ !![]] ({}[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ !![]] (!![] [])[ !![] ]]((!![] [])[ !![]] (!![] [])[!![] !![] !![]] (!![] [])[ [] ] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [] )[!![] !![] !![] !![] !![] !![] !![]] (![] [])[!![] !![]] ({ } [])[ !![]] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![] ] (!![] [])[ []] ({}[[]] [])[!![] !![] !![] !![] !![]] ({} [] )[ !![]] ({}[[]] [])[ !![]])())[!![] !![] !![]] (!![] [])[ !![] !![] !![]])()(({} [])[ []])[ []] (!![] !![] []) (!![] ! ![] [])) [][(![] [])[!![] !![] !![]] ({} [])[ !![]] (!![] [] )[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ( {} [])[!![]] ({}[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![ ] [])[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![] !![ ]] (!![] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]]((!![] []) [!![]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({}[[]] []) [ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] !![] ! ![] !![] !![] !![] !![]] ({}[[]] [])[ []] ({}[[]] [])[ !![]] (!![] [])[!![] !![] !![]] (![] [])[!![] !![] !![]] ({} [])[ !![] !![] !![] !![] !![]] (![] [])[ !![]] ([] [][(![] [])[!! [] !![] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]] [({} [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [] )[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ ! ![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![ ] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (! ![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![ ] !![] !![] !![]] (![] [])[!![] !![]] ({} [])[ !![]] ({} [])[ !![] !![] !![] !![] !![]] (![] [])[ !![]] (!![] [])[ []] ({}[ []] [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] []) [!![]])())[!![] !![] !![]] (!![] [])[!![] !![] !![]])()( [][(![] [])[!![] !![] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ ! ![]] ({}[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]](( !![] [])[ !![]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({} [[]] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!! []!![]!![]!![]!![]!![]!![]](!![][])[!![]!![]!![]]( ![] [])[!![] !![] !![]] ({} [])[!![] !![] !![] !![] !![]] (! [] [])[ !![]] ([] [][(![] [])[!![] !![] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !![ ] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({} [] )[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ !![]] (!! [] [])[ !![]]]((!![] [])[ !![]] (!![] [])[!![] !![] !![]] ( !![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] !![]] (![] [])[! ![] !![]] ({} [])[ !![]] ({} [])[!![] !![] !![] !![] !![]] (! [] [])[ !![]] (!![] [])[ []] ({}[[]] [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]])())[!![] !![] !![] ] (!![] [])[!![] !![] !![]])()(({} [])[ []])[ []] (!![] !![ ] []) (!![] !![] !![] !![] !![] !![] !![] !![] !![] [])) [][(! [] [])[!![] !![] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ( {}[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (! ![] [])[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![] ! ![]] (!![] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]]((!![] [ ])[ !![]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({}[[]] [ ])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] !![ ] !![] !![] !![] !![] !![]] ({}[[]] [])[ []] ({}[[]] [])[ !![ ]] (!![] [])[!![] !![] !![]] (![] [])[!![] !![] !![]] ({} [] )[!![] !![] !![] !![] !![]] (![] [])[ !![]] ([] [][(![] [])[ !![] !![] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ [] ]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[!![]](![][])[!![]!![]!![]](!![][])[[]](!![][]) [ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (! ![] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]]((!![] [])[ !![ ]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] ! ![] !![] !![] !![]] (![] [])[!![] !![]] ({} [])[ !![]] ({} [] )[!![] !![] !![] !![] !![]] (![] [])[ !![]] (!![] [])[ []] ({ }[[]] [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [ ])[!![]])())[!![] !![] !![]] (!![] [])[!![] !![] !![]])( )([][(![] [])[!![] !![] !![]] ({} [])[ !![]] (!![] [])[ !![ ]] (!![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} []) [ !![]] ({}[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [] )[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !! [] !![] !![]] (!![] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]] ((!![] [])[ !![]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ( {}[[]] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[ !![] !![] !![] !![] !![] !![] !![]] (!![] [])[!![] !![] !![] ] (![] [])[!![] !![] !![]] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![]] ([] [][(![] [])[!![] !![] !![]] ({} [])[ !![ ]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] ! ![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![] [])[!![] !! [] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ !![]] ( !![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[!![] !![] !![] ] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[[]] [] )[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] !![]] (![] []) [!![] !![]] ({} [])[ !![]] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![]] (!![] [])[ []] ({}[[]] [])[!![] !![] !![] !! [] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]])())[!![] !![] !! []] (!![] [])[!![] !![] !![]])()(({}+[])[+[]])[+[]]+(!![]+!![]+!![]+[])+({}+[])[!![]+!![]]))()

不知道这样算吗? 用生命游戏写的Hello world!
copy.sh/life/? lz的题目不禁让我想起大学时候写的轻量brainfuck解释器,以及测试用的hello world代码。
代码是这样的:
<code class="language-brainfuck"><span class="nb">++++++++++</span><span class="k">[</span><span class="nv">></span><span class="nb">+++++++</span><span class="nv">></span><span class="nb">++++++++++</span><span class="nv">></span><span class="nb">+++</span><span class="nv">></span><span class="nb">+</span><span class="nv"><<<<</span><span class="nb">-</span><span class="k">]</span><span class="c"></span>
<span class="nv">></span><span class="nb">++</span><span class="nt">.</span><span class="nv">></span><span class="nb">+</span><span class="nt">.</span><span class="nb">+++++++</span><span class="nt">..</span><span class="nb">+++</span><span class="nt">.</span><span class="nv">></span><span class="nb">++</span><span class="nt">.</span><span class="nv"><<</span><span class="nb">+++++++++++++++</span><span class="nt">.</span><span class="c"></span>
<span class="nv">></span><span class="nt">.</span><span class="nb">+++</span><span class="nt">.</span><span class="nb">------</span><span class="nt">.</span><span class="nb">--------</span><span class="nt">.</span><span class="nv">></span><span class="nb">+</span><span class="nt">.</span><span class="nv">></span><span class="nt">.</span><span class="c"></span>
</code>
「看不懂」 和 「优雅」没法并存。
补一句,易读性是代码「优雅」的前提。
优雅的hello world:
<code class="language-text">puts "hello world!"
</code>
1. 写一个让人看不懂的:
如何写一个让人看不懂的优雅的「Hello World」?
2. 优雅之:
如何写一个让人看不懂的优雅的「Hello World」? #include

int main()
{
std::cout << "Shalom haOlam !" << std::endl;
return 0;
}
++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.
声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn