charan2628's blog

By charan2628, history, 5 years ago, In English

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.

  • Vote: I like it
  • +3
  • Vote: I do not like it

»
5 years ago, # |
Rev. 2   Vote: I like it +4 Vote: I do not like it

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