Find shortest between two points on a ball given their azimuthal and polar angles (in degrees) as well as the radius of the sphere.
I took complements of the test case polar angles in order to agree with customary definitions of polar angle.
I agree. Polar angles are, by convention, measured from the pole, but in this problem you have to consider them to be measure from the equator if you wish to agree with the test cases.
729 Solvers
Project Euler: Problem 10, Sum of Primes
556 Solvers
146 Solvers
100 Solvers
309 Solvers