From 80d494ee54c7506f60d031b4dc5d942f524422f6 Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Sun, 25 Apr 2021 16:11:25 -0500 Subject: Create bit-hack.c --- mocking-bob/bit-hack.c | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 mocking-bob/bit-hack.c diff --git a/mocking-bob/bit-hack.c b/mocking-bob/bit-hack.c new file mode 100644 index 0000000..a462ec6 --- /dev/null +++ b/mocking-bob/bit-hack.c @@ -0,0 +1,2 @@ +double P=3.141592653;//Nothing-up-my-sleeve! +main(int n,char**v){char*c=v[1];while(*c)putchar((*(int*)&P>>(*c&31)&1)<<5^*c++);} -- cgit v1.2.3-70-g09d2