|
|
|
|
|
by lelandbatey
4154 days ago
|
|
The one-liner I posted is really meant to be just understandable enough to someone who's taken a solid first year computer science course with C and is looking for more. At least that's where I was approximately when I first found it. So yes, it's mean to be tame, more of a brainteaser than indecipherable. Also, I wrote a program to generate these. So here's one for you: main(O){10<putchar(5^--O?77-(31&2278424678>>5*O):10)&&main(2+O);}
In fact, I originally found this style of tiny C program on Hacker News nearly two years ago. Here's the link to the original: https://news.ycombinator.com/item?id=5524428 |
|