Блог пользователя charan2628

Автор charan2628, история, 5 лет назад, По-английски

I'm solving this problem By Elevator or Stairs, here is my solution Submission it's failed on test 11, My solution is similar to this editorial solution.

I know I did somewhere wrong but can't able to find it, please take a look at my solution.

Thank you.

  • Проголосовать: нравится
  • +3
  • Проголосовать: не нравится

»
5 лет назад, # |
Rev. 2   Проголосовать: нравится +4 Проголосовать: не нравится

I got it, I was comparing previous stairs and elevator costing without adding the next floor next floor elevator/ stair cost.