0_0_23997142_25689.cpp: In function 'int main()': 0_0_23997142_25689.cpp:77:41: error: expected primary-expression before '%' token if(abs(startx-starty)+abs(endx-endy))%2!=t%2 || abs(startx-endx)+abs(starty-endy) > t) ^