40

question

Given an N*N matrix and the number of queries q, each time you query whether there is a path from (x1, y1) to (x2, y2), all the paths on the path are even numbers including the end point and the starting point.
R[] array and C[] array, id starts from 1, aij=R[i]+C[j];

I did not understand:
click to enter

Guess you like

Origin blog.csdn.net/m0_47546815/article/details/112991231
40
40