Prime digit replacements
I like this problem. I looked at my old code, it is ugly and difficult to understand. But after I got the correct answer, I left for the next problem without a better solution. This time, I read the discussion thread, then I found that I missed a very important fact about "8". Now I have a better understanding of this problem.
Good problem!
No comments:
Post a Comment