Skip to content

Instantly share code, notes, and snippets.

@Property404
Last active April 8, 2016 15:36
Show Gist options
  • Save Property404/66f3a23554615539e188d342952dad87 to your computer and use it in GitHub Desktop.
Save Property404/66f3a23554615539e188d342952dad87 to your computer and use it in GitHub Desktop.
Obfuscated version of FizzBuzz
#include <stdio.h>
main(_)
int
_
;{
int c=!!_;char a[]={(c<<c+c+c+c+c+c)+(c<<c+c)+c+
c,_,_};(c[a]=a[!c]+(c<<c+c+c+c+c)+(c<<c+c)-c),(*
(a+c+c)=c[a ]+c+(c<<c+c+c+c));return _<=(a[c]-(c
<<c+c)-c)?((!(_%((c<<c)+c))||!(_%((c<<c<<c)+c)))
?((c+=((!(_%((c+c)+c))))?(putchar(a[!c]),putchar
(a[c]),putchar((c+c)[a]),putchar(a[c<<c]),c):!c)
,(((!(_%((!!c<<!!c<<!!c)+!!c)))?((c!=!!c?putchar
(c<<c<<c):(c+=c)),putchar(a[!c]-c*c),putchar((!!
c)[a]+(c<<c)+c+c),putchar(a[c]),putchar(c[a])):c
|_),c=!!c)):(c[a]=((c<<c+c+c+c+c)+(c<<c+c+c+c)),
(c-c)[a]=((c<<c+c+c)+c+c),putchar(_/a[!c]+c[a]),
putchar(_%a[!c]+c[a]))),putchar((c<<c+c+c)+c+c),
main(++_):c*c+~~c+_%((c<<c)+c+(c<<c<<c)+a[c]),!_
;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment