new version
authorTobias Girstmair <tobi@isticktoit.net>
Wed, 3 Mar 2021 22:54:41 +0000 (23:54 +0100)
committerTobias Girstmair <tobi@isticktoit.net>
Wed, 3 Mar 2021 22:58:40 +0000 (23:58 +0100)
bsv.c

diff --git a/bsv.c b/bsv.c
index 7c11a37f11850e443db2691a70acd9a24820bdb5..bfd592651182e0f3c924ebcd27d6e8c995b340cc 100644 (file)
--- a/bsv.c
+++ b/bsv.c
@@ -1 +1,11 @@
-g(i,x,t,o){return((3&x&(i*((3&i>>16?"BY}6YB6%":"Qj}6jQ6%")[t%8]+51)>>o))<<4);};main(i,n,s){for(i=0;;i++)putchar(g(i,1,n=i>>14,12)+g(i,s=i>>17,n^i>>13,10)+g(i,s/3,n+((i>>11)%3),10)+g(i,s/5,8+n-((i>>10)%3),9));}
+int g(int i, int x, int t, int o){
+       return((3&x&(i*((3&i>>16?"BY}6YB6%":"Qj}6jQ6%")[t%8]+51)>>o))<<4);
+}
+int main(int i, int n, int s){
+       for(i=0;;i++) putchar(
+               g(i,1,n=i>>14,12)+
+               g(i,s=i>>17,n^i>>13,10)+
+               g(i,s/3,n+((i>>11)%3),10)+
+               g(i,s/5,8+n-((i>>10)%3),9)
+       );
+}
Imprint / Impressum