Create a gist now

Instantly share code, notes, and snippets.

anonymous /gist:5084303
Created Mar 4, 2013

int getCoins(int n) {
return (n==0 ? 1 : getCoins(n/2)+getCoins(n/3)+getCoins(n/4)); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment