Project Euler #233: Lattice points on a circle

  • + 0 comments

    Interesting thing.

    Have two versions of code. On my local machine the 2nd version runs 30% faster then 1st one, but here 1st version shows better result.

    Difference between versions: the 2nd one has less calculations of square root, but more iterations (over longer array).