0_0_39244726_16397.cpp: In function 'void solve()': 0_0_39244726_16397.cpp:53:13: error: 'd' was not declared in this scope 53 | d[i][j] %= p; | ^