You are viewing a single comment's thread. Return to all comments →
long strangeCounter(long t) { long sum = 3; while(sum < t) { sum += sum + 3; } long diff = (sum + 1 - t); return diff; }
Seems like cookies are disabled on this browser, please enable them to open this website
Strange Counter
You are viewing a single comment's thread. Return to all comments →