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 1394. Ships. Version 2

You mean without even single magic number for single test?
Yes.
Formally I can write code, that handle particular cases (e.g. patalogical cases having a bunch of repeating ships and rows), but is it somehow better then to find a single seed for the only case, which my solution cannot pass?