素材 0-indexed def(width, height) width x heightの配列を""で満たす set(x, y, vaule) (x, y)をvalueにする get(x, y, <strict>) (x, y)を取得;<strict>なら範囲外のときエラー isValid(x, y) (x, y)が存在するか height()、width() 縦幅、横幅 isSquare() 正方形かどうか size() 面積