#abc271f. [abc271_f]XOR on Grid Path

[abc271_f]XOR on Grid Path

给定一个n行n列的矩阵,定义合法路径为只向右或向下的路径,且途径数字异或和为0。求合法路径条数。