strawhatdragon's blog

By strawhatdragon, history, 4 years ago, In English

Hi All

Can someone help find the fault in the logic ?

https://mirror.codeforces.com/contest/1534/submission/119410596

Regards

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

| Write comment?
»
4 years ago, # |
  Vote: I like it 0 Vote: I do not like it

I think the fault in your logic is that you only consider the local locations (top, down, left, right) of a specific cell.

Hint / Observation: