I went for the minimum score that I was able to find at least, and
found 102810. Moreover, I submitted the algorithm and the hardcoded solution.
Here, it is the algorithm to find my solution.
What is the distance from point P(x,y) to the line Ax + By + C = 0?
Fill a zeros matrix
Equal to their cube
Basic arrays operations.
Upper triangular matrix
Rolling maximums above a threshold
It's going down. We're finding simbers!
Numbers in extended form
Crunch that matrix!
It's Happy! It's Fun! It's Happy Fun Hyperball!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office