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 1115. Ships

sort first
Posted by cai niao 12 Nov 2002 12:36
Yes, I passed it just by searching. But firstly I sorted the ships
from short to long, then it was easy to cut the useless branch and
retrace when necessary.