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 1411. 40 Islands Knights

this problem can be set n,m<=1000
Posted by Shen Yang 18 Apr 2018 13:51
there is O(n*m) D&C algorithm...  similar with ural 1674 and ural 1596