The Captain's Room

  • + 2 comments

    I also got the last four with a runtime error but it was accepted. Lol. https://www.hackerrank.com/challenges/py-the-captains-room/submissions/code/13501624

    Anyway, nice algorithm! How did you come up with the formula for the cap's room?