But why its 1 instead of 0 or 2 on this test case:
- Code: Select all
4
0 0
0 1
1 1
1 0
6
3 2
3 1
2 1
1 1
1 2
2 2
we have 2 blocks which intersect just in 1 dot, so what we should count - minimal blocks which should walk Kim or minimal crosses of streets/avenues ?
brianfry713 wrote:My AC output for the input you posted is:
- Code: Select all
2
1
1
