0_0_16480264_2696.cpp: In function 'void bfs()': 0_0_16480264_2696.cpp:62:20: error: 'abs' was not declared in this scope if (abs(cur.x - M) + abs(cur.y - N) > D - cur.step) ^