Created
August 30, 2012 05:23
-
-
Save t1anchen/3522733 to your computer and use it in GitHub Desktop.
Polyglot
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define v putchar | |
# define print(x) main(){v(4+v(v(52)-4));return 0;}/* | |
#>+++++++4+[>++++++<-]>++++.----.++++.*/ | |
print(202*2);exit(); | |
#define/*>.@*/exit() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This polyglot program can be compiled via C/C++, Python, Perl, Ruby and Brianf*ck. Visit http://en.wikipedia.org/wiki/Polyglot_(computing) for Polyglot details. :)