3 ms·
Well, I could do his in my head. Actually, no, I have that one memorized. I had a perfectly good algorithm. It was a memoized recursion. The problem was that m
by mark-t 18y ago
Well, I could do his in my head. Actually, no, I have that one memorized.
I had a perfectly good algorithm. It was a memoized recursion. The problem was that my program printed something like blah*10^27 and they were asking for an exact answer.