You are viewing a single comment's thread. Return to all comments →
string counterGame(long n) { int c = __builtin_popcountll(n) - 1 +__builtin_ctzll(n); return ((c & 1) == 0) ? "Richard" :"Louise"; }
Seems like cookies are disabled on this browser, please enable them to open this website
Counter game
You are viewing a single comment's thread. Return to all comments →