You are viewing a single comment's thread. Return to all comments →
I got the logic but there is a timeout after 6th test case. Not able to shorten the code anymore .
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #108: Diophantine reciprocals I
You are viewing a single comment's thread. Return to all comments →
I got the logic but there is a timeout after 6th test case. Not able to shorten the code anymore .