WA IN CHAIN REACTION || PLEASE HELP

https://www.codechef.com/viewsolution/33268379

a > b is not the same as a = b + 1

1 Like

sir, in that question it is given that adjacent side must be strictly greater than value of the cell.
I think strictly greater means greater by 1 only ???
Am i wrong?

no (it doesn’t mean that)

1 Like

so you mean
no of adjacent side > value of the cell

That is what the problem says, yes

2 Likes

OK THANKS A LOT :smile: :v: