ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1097. Square Country 2

Who solved the problem1097,can you explain it?
Posted by Cain 10 Jun 2001 08:19
I have a question what do I output, the sum of importance
or just a piece of land's importance?

The example is that:
 3   2   0   0   0
 2   2   0 100 100
 2   2   0 100 100
94  94   0   0   0
94  94   0   0 255

we have to select a land whose area is 3*3,how can I just
expropriate the land whose importance is 3?

I think the least importance is 3+2+2=7.


Thank you for answering my question?
Re: Who solved the problem1097,can you explain it?
Posted by cloudygooose 20 May 2009 14:47
the biggest is 3