In this problem, Codeforces compiler giving an output which is different from the output I got (which is matching to the output of the sample cases) and saying it's a wrong code. But, my code is actually giving the right output of the sample cases.
Here's my code: 171740686
Please, anybody can look into it, and point out where I am wrong.
in that part which you finding a sum you should check j-2 and j+2 and i-2 and i+2 too in addition "cin >> T;" is wrong