Corn Fields
FarmerJohnhaspurchasedalushnewrectangularpasturecomposedofMbyN(1≤M≤12;1≤N≤12)squareparcels.Hewantstogrowsomeyummycornforthecowsonanumberofsquares.Regrettably,someofthesquaresareinfertileandcan'tbeplanted.CannyFJknowsthatthecowsdislikeeatingclosetoeachother,sowhen
下载地址
用户评论