LoginSignup
1
1

More than 5 years have passed since last update.

Project Euler #108 Diophantine reciprocals I

Posted at

Diophantine reciprocals I

回答者 6053人。

満たすべき条件をできるだけ単純に変形すればごり押しで解けるが、
入力200くらいから計算時間が急速に延びて標準の1分では終わらなかった。計算コストを短縮できるとしたらmod?

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1