1. 首页
  2. 课程学习
  3. C++/C
  4. Corn Fields

Corn Fields

上传者: 2019-06-05 09:01:26上传 CPP文件 1.21KB 热度 45次
FarmerJohnhaspurchasedalushnewrectangularpasturecomposedofMbyN(1≤M≤12;1≤N≤12)squareparcels.Hewantstogrowsomeyummycornforthecowsonanumberofsquares.Regrettably,someofthesquaresareinfertileandcan'tbeplanted.CannyFJknowsthatthecowsdislikeeatingclosetoeachother,sowhen
用户评论