A949.Icy Perimeter--Silver

普及/提高-

USACO

通过率:0%

时间限制:1.00s

内存限制:128MB

题目描述

Farmer John is going into the ice cream business! He has built a machine that
produces blobs of ice cream but unfortunately in somewhat irregular shapes,
and he is hoping to optimize the machine to make the shapes produced as output
more reasonable.
The configuration of ice cream output by the machine can be described using an
N×NN \times N grid (1N10001 \leq N \leq 1000) as follows:

首页