Mo_Huzaifa's blog

By Mo_Huzaifa, history, 2 years ago, In English

problem statement: cses grid paths https://cses.fi/problemset/task/1638/ What is wrong with my code?? code: Link to this code: https://cses.fi/paste/d5d85fe7f661fdba3fd8f3/

  • Vote: I like it
  • -1
  • Vote: I do not like it

| Write comment?
»
2 years ago, # |
Rev. 2   Vote: I like it +3 Vote: I do not like it

Your code is not readable. Do you mind formatting it a little?

You can simply use spoiler tag and triple tilde for a cleaner look like this:

Code

Edit-1: Do write your logic above code so it's easier to figure out mistake

  • »
    »
    2 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Now its readable

    • »
      »
      »
      2 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      I figured out the mistake.

      Hint
      Mistake
»
2 years ago, # |
  Vote: I like it +3 Vote: I do not like it

no help