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 1124. Mosaic

If you WA #3, look at this simple case
Posted by jacketinsysu 7 Sep 2015 10:50
4 3
1 1 1
2 2 2
3 3 3
4 4 4

> 0

my solution is: edge number + component number - 1.
Re: If you WA #3, look at this simple case
Posted by Михаил 27 Jun 2020 16:35
ty, good advice