kvtoraman's blog

By kvtoraman, 10 years ago, In English

Hey; Here here is the problem.I write a solution , but i could not found where my bug is :(

~~~~~ ~~~~~ Could you guys find the bug please ? Edit:Ok i got it.

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

»
10 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Found it.It must be cost+=mal[dizi[j-1]][shop[dizi[j]]]; instead of 'cost+=mal[dizi[j-1]][dizi[j]];'.Thanks everyone trying to help.

»
10 years ago, # |
  Vote: I like it 0 Vote: I do not like it

1690182[submission:1690182]

»
10 years ago, # |
  Vote: I like it 0 Vote: I do not like it

[submission:1690182[submission:1690182]]