Merge pull request #232 from xexyl/2020-burton

This commit is contained in:
Landon Curt Noll authored and GitHub committed 2023-03-31 07:31:09 -07:00
commit 17a2012aa4
2 files changed
+9 -5

No files matched your search

+8 -4
View File
@@ -1,8 +1,8 @@
# Best one-liner
Dave Burton
<http://snox.net/ioccc>
Twitter: @lv2jmp
Dave Burton
<http://snox.net/ioccc>
Twitter: @lv2jmp
## To build:
@@ -16,7 +16,11 @@ make
./prog arg ...
```
NOTE: this entry will dump core if you do not specify an argument.
[Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) made this entry not
segfault when no arg is specified though he notes that the author says it will
segfault on zero args. He did NOT fix the strange results when more than one arg
is specified. Thank you Cody for your assistance!
## Try:
+1 -1
View File
@@ -1 +1 @@
int main(int b,char**i){long long n=B,a=I^n,r=(a/b&a)>>4,y=atoi(*++i),_=(((a^n/b)*(y>>T)|y>>S)&r)|(a^r);printf("%.8s\n",(char*)&_);}
int main(int b,char**i){if(1[i]){long long n=B,a=I^n,r=(a/b&a)>>4,y=atoi(*++i),_=(((a^n/b)*(y>>T)|y>>S)&r)|(a^r);printf("%.8s\n",(char*)&_);}}