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