17 Jun
2020
17 Jun
'20
1:58 a.m.
+ const INT exp_x = ((tests[i][0] % 8) + 8) % 8; + const INT exp_y = ((tests[i][1] % 8) + 8) % 8; Not sure if it matters too much, but this could be more simply written as & 7.