James_Bond_OO7's blog

By James_Bond_OO7, history, 5 weeks 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

»
5 weeks 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

  • »
    »
    5 weeks ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Now its readable

    • »
      »
      »
      5 weeks ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      I figured out the mistake.

      Hint
      Mistake
»
5 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by James_Bond_OO7 (previous revision, new revision, compare).

»
5 weeks ago, # |
  Vote: I like it +3 Vote: I do not like it

no help