r/tinycode • u/14113 • Jul 02 '11
The Best bit of obfusicated c++ code I've even seen
Also the funniest:
2
u/Bjartr Jul 18 '11 edited Jul 18 '11
For the lazy: http://www.ideone.com/MiuUj
Edit: figured out where the wait was and removed it, the whole thing now executes within ideone's time limit
Edit2:
For the curious, here's a deobfuscated version http://www.ideone.com/vKAqC
1
u/14113 Jul 18 '11
Nice! I tried to run it/link to it on codepad, but it didn't want to run there...
1
3
2
u/Combustor Jul 03 '11
Spoiler: http://pastebin.com/ZYMYPu3a
Protip for Linux users (who probably already know this): save it as code.cpp, run g++ code.cpp
???
compiled
14
u/zith Jul 03 '11
Protip for Linux users: following the parent tip will eventually get your home directory or whatever is writable on your mounted filesystems wiped.
1
1
-13
4
u/pokoleo Jul 02 '11
Why is it so funny?