用你最喜欢的语言,写最优雅的「Hello World」
回复内容:
知乎的代码高亮不给力,于是在 github 写了一个:点此全屏查看:
https://gist.github.com/justjavac/6878844/raw/cf600a1048509c92aa53b821528426ab2712c3de/helloworld.js下面的图片是代码的截图。也许你觉得,不就是拼几个汉字吗,有什么神奇的?
但是,
这段代码居然可以运行!!! 并输出 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>
登录后复制
这个何如?反正我看不懂。
参考:空白(编程语言) - 维基百科,免费百科全书
https://en.wikipedia.org/wiki/W hitespace_(编程语言)
[][(![] [])[!![] !![] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ ! ![]] ({}[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]](( {}[[]] [])[!![] !![]] ({} [])[ !![]] ({} [])[!![] !![] !![] !![] !![]] ({}[[]] [])[ []] [][(![] [])[!![] !![] !![]] ({} [])[!![]](!![][])[!![]](!![][])[[]]][({}[])[!![]!! [] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![] []) [!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] []) [ []] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} []) [!![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[!![] ! ![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({ }[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] !![]] ({}[[]] [])[ []] ({}[[]] [])[ !![]] (!![] [])[!![] !![] !![ ]] (![] [])[!![] !![] !![]] ({} [])[!![] !![] !![] !![] !![] ] (![] [])[ !![]] ([] [][(![] [])[!![] !![] !![]] ({} [])[ !! []] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![] [])[!![] ! ![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({ } [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[!![] !![] !![ ]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[[]] [ ])[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] !![]] (![] [] )[!![] !![]] ({} [])[ !![]] ({} [])[!![] !![] !![] !![] !![] ] (![] [])[ !![]] (!![] [])[ []] ({}[[]] [])[!![] !![] !![] ! ![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]])())[!![] !![] ! ![]] (!![] [])[!![] !![] !![]])()([][(![] [])[!![] !![] ! ![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} []) [!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({} [[]] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ [] ] ({} [])[ !![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![] [] )[!![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] !! []!![]](!![][])[!![]!![]!![]](![][])[!![]!![]!![]] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![]] ([] [][(![ ] [])[!![] !![] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [ ])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({ }[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (!! [] [])[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![] !! []] (!![] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]]((!![] [] )[ !![]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({}[[]] [] )[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] !![]] (![] [])[!![] !![]] ({} [])[ !![]] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![]] (!![] [])[ []] ({}[[]] [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({} [[]] [])[!![]])())[!![]!![]!![]] (!![][])[!![]!![]!! []])()(({} [])[ []])[ []] (!![] !![] !![] !![] !![] !![] []) ({}[[]] [])[!![] !![]]) (!![] [])[!![] !![] !![]] ({}[[]] [])[!![]] (!![] [])[ []] [][(![] [])[!![] !![] !![]] ({} [] )[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![] [])[! ![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ [ ]] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ ! ![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[!![] !![ ] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[ []] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] !![]] ({ }[[]] [])[ []] ({}[[]] [])[ !![]] (!![] [])[!![] !![] !![]] (![] [])[!![] !![] !![]] ({} [])[!![] !![] !![] !![] !![]] ( ![] [])[ !![]] ([] [][(![] [])[!![] !![] !![]] ({} [])[ !![] ] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !! [] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![] [])[!![] !![ ] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({} [ ])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ !![]] (! ![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[[]] []) [ !![]] ({} [])[!![] !![] !![] !![] !![] !![] !![]] (![] [])[ !![] !![]] ({} [])[ !![]] ({} [])[!![] !![] !![] !![] !![]] ( ![] [])[ !![]] (!![] [])[ []] ({}[[]] [])[!![] !![] !![] !![ ] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]])())[!![] !![] !![ ]] (!![] [])[!![] !![] !![]])()([][(![] [])[!![] !![] !![ ]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[! ![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (! [] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[ ]] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ( {} [])[ !![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[ !![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!! []!![]!![]!![]!![]!![]!![]](!![][])[!![]!![]!![]]( ![] [])[!![] !![] !![]] ({} [])[!![] !![] !![] !![] !![]] (! [] [])[ !![]] ([] [][(![] [])[!![] !![] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !![ ] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({} [] )[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ !![]] (!! [] [])[ !![]]]((!![] [])[ !![]] (!![] [])[!![] !![] !![]] ( !![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] !![]] (![] [])[! ![] !![]] ({} [])[ !![]] ({} [])[!![] !![] !![] !![] !![]] (! [] [])[ !![]] (!![] [])[ []] ({}[[]] [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]])())[!![] !![] !![] ] (!![] [])[!![] !![] !![]])()(({} [])[ []])[ []] (!![] !![ ] []) (!![] [])[!![] !![] !![]]) [][(![] [])[!![] !![] !![] ] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!! [] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![ ] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[] ] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({ } [])[ !![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[! ![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![ ]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] ! ![]] ({}[[]] [])[ []] ({}[[]] [])[ !![]] (!![] [])[!![] !![ ] !![]] (![] [])[!![] !![] !![]] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![]] ([] [][(![] [])[!![] !![] !![]] ({} [] )[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![] [])[! ![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ [ ]] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ ! ![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[!![] !![ ] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[ []] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] !![]] (! [] [])[!![] !![]] ({} [])[ !![]] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![]] (!![] [])[ []] ({}[[]] [])[!![] !![] ! ![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]])())[!![] ! ![] !![]] (!![] [])[!![] !![] !![]])()([][(![] [])[!![] ! ![] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({ } [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ ! ![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![] ] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] [] )[ []] ({} [])[ !![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!! [] [])[!![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !! []!![]!![]](!![][])[!![]!![]!![]](![][])[!![]!![]! ![]] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![]] ([] [] [(![] [])[!![] !![] !![]] ({} [])[ !![]] (!![] [])[ !![]] (! ![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ !![ ]] ({}[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ [] ] (!![] [])[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !! [] !![]] (!![] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]]((!! [] [])[!![]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({}[[ ]] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] !![]] (![] [])[!![] !![]] ({} [])[ ! ![]] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![]] (!![] [])[ []] ({}[[]] [])[!![] !![] !![] !![] !![]] ({} [])[ !![] ] ({}[[]] [])[ !![]])())[!![] !![] !![]] (!![] [])[!![] !! [] !![]])()(({} [])[ []])[ []] (!![] !![] !![] !![] !![] !![ ] !![] []) (!![] !![] !![] !![] !![] !![] !![] [])) (!![] [])[ !![]] ({}[[]] [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ( !![] [])[!![] !![] !![]] [][(![] [])[!![] !![] !![]] ({} [] )[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![] [])[! ![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ [ ]] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ ! ![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[!![] !![ ] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[ []] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] !![]] ({ }[[]] [])[ []] ({}[[]] [])[ !![]] (!![] [])[!![] !![] !![]] (![] [])[!![] !![] !![]] ({} [])[!![] !![] !![] !![] !![]] ( ![] [])[ !![]] ([] [][(![] [])[!![] !![] !![]] ({} [])[ !![] ] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !! [] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![] [])[!![] !![ ] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({} [ ])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ !![]] (! ![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[[]] []) [ !![]] ({} [])[!![] !![] !![] !![] !![] !![] !![]] (![] [])[ !![] !![]] ({} [])[ !![]] ({} [])[!![] !![] !![] !![] !![]] ( ![] [])[ !![]] (!![] [])[ []] ({}[[]] [])[!![] !![] !![] !![ ] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]])())[!![] !![] !![ ]] (!![] [])[!![] !![] !![]])()([][(![] [])[!![] !![] !![ ]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({}[])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !! []] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] []) [ []] ({} [])[ !![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![ ] [])[!![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [ ])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !![ ] !![] !![]] (!![] [])[!![] !![] !![]] (![] [])[!![] !![] !! []] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![]] ([] [][ (![] [])[!![] !![] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!! [] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ !![] ] ({}[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![ ] !![]] (!![] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]]((!![ ] [])[!![]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({}[[] ] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] ! ![] !![] !![] !![] !![] !![]] (![] [])[!![] !![]] ({} [])[ !! []] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![]] (!![] [ ])[ []] ({}[[]] [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[!![]])())[!![] !![] !![]] (!![] [])[!![] !![ ] !![]])()(({} [])[ []])[ []] (!![] !![] []) (!![] !![] !![] !![] !![] !![] !![] !![] [])) [][(![] [])[!![] !![] !![]] ({ } [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] ! ![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![] [] )[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [] )[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [] )[ !![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ( {}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] !![] ] ({}[[]] [])[ []] ({}[[]] [])[ !![]] (!![] [])[!![] !![] !! []] (![] [])[!![] !![] !![]] ({} [])[!![] !![] !![] !![] !![ ]] (![] [])[ !![]] ([] [][(![] [])[!![] !![] !![]] ({} [])[ ! ![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![ ] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ( {} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ !![] ] (!![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[!![] !![] !! []] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] !![]] (![] [ ])[!![] !![]] ({} [])[ !![]] ({} [])[!![] !![] !![] !![] !![ ]] (![] [])[ !![]] (!![] [])[ []] ({}[[]] [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]])())[!![] !![] !![]] (!![] [])[!![] !![] !![]])()([][(![] [])[!![] !![] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [] )[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![] ] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({ }[[]] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ [ ]] ({} [])[ !![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![] [ ])[!![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] []) [!![]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] ! ![] !![]] (!![] [])[!![] !![] !![]] (![] [])[!![] !![] !![] ] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![]] ([] [][(! [] [])[!![] !![] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ( {}[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (! ![] [])[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![] ! ![]] (!![] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]]((!![] [ ])[ !![]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({}[[]] [ ])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] !![ ] !![] !![] !![] !![] !![]] (![] [])[!![] !![]] ({} [])[ !![] ] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![]] (!![] []) [ []] ({}[[]] [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({ }[[]] [])[!![]])())[!![] !![] !![]] (!![] [])[!![] !![] ! ![]])()(({} [])[ []])[ []] (!![] !![] []) (!![] !![] [])) ([ ] [][(![] [])[!![] !![] !![]] ({} [])[ !![]] (!![] [])[ !![] ] (!![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] []) [ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![ ] !![] !![]] (!![] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]]( (!![] [])[ !![]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({ }[[]] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[! ![] !![] !![] !![] !![] !![] !![]] (![] [])[!![] !![]] ({} [] )[ !![]] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![]] (! ![] [])[ []] ({}[[]] [])[!![] !![] !![] !![] !![]] ({} [])[ ! ![]] ({}[[]] [])[ !![]])())[ []] (!![] [])[!![] !![] !![]] (![] [])[!![] !![]] (![] [])[!![] !![]] ({} [])[ !![]] ({} [ ])[!![] !![] !![] !![] !![] !![] !![]] [][(![] [])[!![] !![ ] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [ ])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![ ]] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ( {}[[]] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [] )[ !![]] ({}[[]] [])[ !![]] ({}[])[!![] !![] !![] !![] !![] !![] !![]] ({}[[]] [])[ []] ({} [[]] [])[!![]] (!![] [])[!![] !![] !![]] (![] [])[!![] !![ ] !![]] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![]] ([] [][(![] [])[!![] !![] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ ! ![]] ({}[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]](( !![] [])[ !![]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({} [[]] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!! [] !![] !![] !![] !![] !![] !![]] (![] [])[!![] !![]] ({} []) [ !![]] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![]] (!! [] [])[ []] ({}[[]] [])[!![] !![] !![] !![] !![]] ({} [])[ !! []] ({}[[]] [])[!![]])())[!![] !![] !![]] (!![] [])[!![] !![] !![]])()([][(![] [])[!![] !![] !![]] ({} [])[ !![]] ( !![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![] [])[!![] !![] ! ![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({} []) [!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ !![]] (!![ ] [])[!![]]]((!![][])[!![]](!![][])[!![]!![]!![]](! ![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ ! ![]] ({} [])[!![] !![] !![] !![] !![] !![] !![]] (!![] [])[! ![] !![] !![]] (![] [])[!![] !![] !![]] ({} [])[!![] !![] !! [] !![] !![]] (![] [])[ !![]] ([] [][(![] [])[!![] !![] !![] ] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!! [] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![ ] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[] ] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({ } [])[ !![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[! ![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![ ]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] ! ![]] (![] [])[!![] !![]] ({} [])[ !![]] ({} [])[!![] !![] !! [] !![] !![]] (![] [])[ !![]] (!![] [])[ []] ({}[[]] [])[!![ ] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]])()) [!![] !![] !![]] (!![] [])[!![] !![] !![]])()(({} [])[ []] )[ []] (!![] !![] !![] !![] !![] !![] !![] []) (!![] !![] !![] !![] !![] !![] !![] [])) ({} [])[ !![]] (!![] [])[ !![]] (![] [])[!![] !![]] ({}[[]] [])[!![] !![]] [][(![] [])[!![] !! [] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !! []] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] []) [ []] ({} [])[ !![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![ ] [])[!![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [ ])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !![ ] !![] !![]] ({}[[]] [])[ []] ({}[[]] [])[ !![]] (!![] [])[! ![] !![] !![]] (![] [])[!![] !![] !![]] ({} [])[!![] !![] !! [] !![] !![]] (![] [])[ !![]] ([] [][(![] [])[!![] !![] !![] ] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!! [] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![ ] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[] ] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({ } [])[ !![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[! ![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![ ]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] ! ![]] (![] [])[!![] !![]] ({} [])[ !![]] ({} [])[!![] !![] !! [] !![] !![]] (![] [])[ !![]] (!![] [])[ []] ({}[[]] [])[!![ ] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]])()) [!![] !![] !![]] (!![] [])[!![] !![] !![]])()([][(![] []) [!![] !![] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ [ ]]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[] ] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [] )[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![] !![]] ( !![] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]]((!![] [])[ !! []] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ [] ] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] !![]] (!![] [])[!![] !![] !![]] (![] [])[!![ ] !![] !![]] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![] ] ([] [][(![] [])[!![] !![] !![]] ({} [])[ !![]] (!![] [])[ ! ![]] (!![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [ ])[ !![]] ({}[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ !![]] (!![] [])[ !![] ]]((!![] [])[ !![]] (!![] [])[!![] !![] !![]] (!![] [])[ [] ] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [] )[!![] !![] !![] !![] !![] !![] !![]] (![] [])[!![] !![]] ({ } [])[ !![]] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![] ] (!![] [])[ []] ({}[[]] [])[!![] !![] !![] !![] !![]] ({} [] )[ !![]] ({}[[]] [])[ !![]])())[!![] !![] !![]] (!![] [])[ !![] !![] !![]])()(({} [])[ []])[ []] (!![] !![] []) (!![] ! ![] [])) [][(![] [])[!![] !![] !![]] ({} [])[ !![]] (!![] [] )[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ( {} [])[!![]] ({}[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![ ] [])[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![] !![ ]] (!![] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]]((!![] []) [!![]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({}[[]] []) [ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] !![] ! ![] !![] !![] !![] !![]] ({}[[]] [])[ []] ({}[[]] [])[ !![]] (!![] [])[!![] !![] !![]] (![] [])[!![] !![] !![]] ({} [])[ !![] !![] !![] !![] !![]] (![] [])[ !![]] ([] [][(![] [])[!! [] !![] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]] [({} [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [] )[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ ! ![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![ ] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (! ![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![ ] !![] !![] !![]] (![] [])[!![] !![]] ({} [])[ !![]] ({} [])[ !![] !![] !![] !![] !![]] (![] [])[ !![]] (!![] [])[ []] ({}[ []] [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] []) [!![]])())[!![] !![] !![]] (!![] [])[!![] !![] !![]])()( [][(![] [])[!![] !![] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ ! ![]] ({}[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]](( !![] [])[ !![]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({} [[]] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!! []!![]!![]!![]!![]!![]!![]](!![][])[!![]!![]!![]]( ![] [])[!![] !![] !![]] ({} [])[!![] !![] !![] !![] !![]] (! [] [])[ !![]] ([] [][(![] [])[!![] !![] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !![ ] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({} [] )[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ !![]] (!! [] [])[ !![]]]((!![] [])[ !![]] (!![] [])[!![] !![] !![]] ( !![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] !![]] (![] [])[! ![] !![]] ({} [])[ !![]] ({} [])[!![] !![] !![] !![] !![]] (! [] [])[ !![]] (!![] [])[ []] ({}[[]] [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]])())[!![] !![] !![] ] (!![] [])[!![] !![] !![]])()(({} [])[ []])[ []] (!![] !![ ] []) (!![] !![] !![] !![] !![] !![] !![] !![] !![] [])) [][(! [] [])[!![] !![] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ( {}[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [])[ []] (! ![] [])[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![] ! ![]] (!![] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]]((!![] [ ])[ !![]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({}[[]] [ ])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] !![ ] !![] !![] !![] !![] !![]] ({}[[]] [])[ []] ({}[[]] [])[ !![ ]] (!![] [])[!![] !![] !![]] (![] [])[!![] !![] !![]] ({} [] )[!![] !![] !![] !![] !![]] (![] [])[ !![]] ([] [][(![] [])[ !![] !![] !![]] ({} [])[ !![]] (!![] [])[ !![]] (!![] [])[ [] ]][({} [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [])[!![]](![][])[!![]!![]!![]](!![][])[[]](!![][]) [ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (! ![] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]]((!![] [])[ !![ ]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[!![] !![] !![] ! ![] !![] !![] !![]] (![] [])[!![] !![]] ({} [])[ !![]] ({} [] )[!![] !![] !![] !![] !![]] (![] [])[ !![]] (!![] [])[ []] ({ }[[]] [])[!![] !![] !![] !![] !![]] ({} [])[ !![]] ({}[[]] [ ])[!![]])())[!![] !![] !![]] (!![] [])[!![] !![] !![]])( )([][(![] [])[!![] !![] !![]] ({} [])[ !![]] (!![] [])[ !![ ]] (!![] [])[ []]][({} [])[!![] !![] !![] !![] !![]] ({} []) [ !![]] ({}[[]] [])[ !![]] (![] [])[!![] !![] !![]] (!![] [] )[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !! [] !![] !![]] (!![] [])[ []] ({} [])[ !![]] (!![] [])[ !![]]] ((!![] [])[ !![]] (!![] [])[!![] !![] !![]] (!![] [])[ []] ( {}[[]] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ !![]] ({} [])[ !![] !![] !![] !![] !![] !![] !![]] (!![] [])[!![] !![] !![] ] (![] [])[!![] !![] !![]] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![]] ([] [][(![] [])[!![] !![] !![]] ({} [])[ !![ ]] (!![] [])[ !![]] (!![] [])[ []]][({} [])[!![] !![] !![] ! ![] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]] (![] [])[!![] !! [] !![]] (!![] [])[ []] (!![] [])[ !![]] ({}[[]] [])[ []] ({} [])[!![] !![] !![] !![] !![]] (!![] [])[ []] ({} [])[ !![]] ( !![] [])[ !![]]]((!![] [])[ !![]] (!![] [])[!![] !![] !![] ] (!![] [])[ []] ({}[[]] [])[ []] (!![] [])[ !![]] ({}[[]] [] )[ !![]] ({} [])[!![] !![] !![] !![] !![] !![] !![]] (![] []) [!![] !![]] ({} [])[ !![]] ({} [])[!![] !![] !![] !![] !![]] (![] [])[ !![]] (!![] [])[ []] ({}[[]] [])[!![] !![] !![] !! [] !![]] ({} [])[ !![]] ({}[[]] [])[ !![]])())[!![] !![] !! []] (!![] [])[!![] !![] !![]])()(({}+[])[+[]])[+[]]+(!![]+!![]+!![]+[])+({}+[])[!![]+!![]]))()
不知道这样算吗?
用生命游戏写的Hello world!
http://copy.sh/life/?pattern=hello_world_copy
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. 写一个让人看不懂的:
2. 优雅之:
#include
int main()
{
std::cout << "Shalom haOlam !" << std::endl;
return 0;
}
++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.