Created
October 4, 2012 04:14
-
-
Save DerekV/3831430 to your computer and use it in GitHub Desktop.
don't code like this
This file contains 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
// don't code like this | |
#include <stdio.h> | |
#include <cstring> | |
int main() | |
{ | |
static char *c; | |
if(!c) *(c=&(*(c=new char[27]+26)='\0')-1)='Z'; | |
*c=='A'?printf("%s\n",c):(*c=*(c--)-1,main()); | |
} |
This file contains 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
az: az.cpp | |
run: az | |
./az |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment