Ad
  • Default User Avatar

    My bad.
    I miss-intepreted the instruction "Assume all penguins swim at the same speed." as saying that their speed is constant.

  • Default User Avatar

    Hi correct me if I'm wrong but for

    calculatewinners("|-----------~~~----------p~~~~~~|\n|-------------------p-----------|\n|------p----------~-------------|\n|---------------~------p--------|\n|------------p-~~~~~~-----------|", ["Adam", "Brain", "Flipper", "Franko", "Darwin"]) --> "GOLD: Franko, SILVER: Brain, BRONZE: Adam"
    

    It marks my answer as wrong and gives the following output

    	Expected: "GOLD: Franko, SILVER: Brain, BRONZE: Adam"
    	Occurred: "GOLD: Franko, SILVER: Adam, BRONZE: Brain"
    

    When clearly Adam would finish faster than Brain