4fd800b3a8 2011-02-23 kinaba: 4fd800b3a8 2011-02-23 kinaba: bool inMap(int H, int W, int y, int x) 4fd800b3a8 2011-02-23 kinaba: { 4fd800b3a8 2011-02-23 kinaba: return (0<=y && y<H && 0<=x && x<W); 4fd800b3a8 2011-02-23 kinaba: }
4fd800b3a8 2011-02-23 kinaba: 4fd800b3a8 2011-02-23 kinaba: bool inMap(int H, int W, int y, int x) 4fd800b3a8 2011-02-23 kinaba: { 4fd800b3a8 2011-02-23 kinaba: return (0<=y && y<H && 0<=x && x<W); 4fd800b3a8 2011-02-23 kinaba: }