Ad
  • Custom User Avatar

    A climb round is the absolute difference between the height of two locations. Moving through "0 1 0" results in 2 climb rounds because "0 -> 1" is ascending 1 and "1 -> 0" is descending 1, which is a total of 2.

  • Custom User Avatar

    This solution is incorrect for composite numbers divisible by numbers other than 2 or 3. 64603 isn't prime because it is divisible by 7, but returns True.