Diophantine reciprocals I
My old code is too ugly and complicated. I do not want to read it.
This time I rewrote my code, it is easy to read and runs pretty fast, only 0.3 second. But after I read the discussion, I felt that I should think more about how to solve this diophantine equation before writing the code. This could be a serious issue when the problem becomes more difficult.
If you did not give too much analytical analysis on this problem, please learn from the discussion.
No comments:
Post a Comment