Skip to content

Instantly share code, notes, and snippets.

@betseg
Last active March 12, 2017 11:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save betseg/08b7350e3f7072247910d2f43a7e3d9f to your computer and use it in GitHub Desktop.
Save betseg/08b7350e3f7072247910d2f43a7e3d9f to your computer and use it in GitHub Desktop.
mult
_3;_(_1,_2){return _2?_(_1^_2,(_1&_2)<<1):_1;}main(c,v)char**v;{int _1=atoi(*++v),_2=atoi(*++v);for(;_1>0;_1=_(_1,_(~1,1)))_3=_(_3,_2);return _3;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment