0_0_18901098_30021.cpp: In function 'int check()': 0_0_18901098_30021.cpp:241:29: error: 'ok' was not declared in this scope if (ok(newx,newy)&&map[newx][newy]) continue; //±ðÂíÍÈ ^