You are viewing a single comment's thread. Return to all comments →
Could you please explain the approach and why we are doing: d[j + 1] += d[j] / 10; d[j] %= 10;
Seems like cookies are disabled on this browser, please enable them to open this website
Extra Long Factorials
You are viewing a single comment's thread. Return to all comments →
Could you please explain the approach and why we are doing: d[j + 1] += d[j] / 10; d[j] %= 10;