This problem is too simple. The number of lines is too small, there are only limited numbers to be checked. I was using factorization in my old code, but I found that it was not necessary at all.
There are one or two more challenging PE problem closely related to this problem.
No comments:
Post a Comment