You are viewing a single comment's thread. Return to all comments →
C#
public static long strangeCounter(long t) { long timeInit = 3; long countValue = 3; while (timeInit < t) { countValue = countValue * 2; timeInit = timeInit + countValue; } return timeInit - t + 1; }
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 →
C#