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 1469. No Smoking!

Help, I have WA 16
Posted by IFIT 18 Oct 2006 11:49
I use "slide line" algorithm from "I to A", Cormen;
Program works correct with vertical lines;
What can be wrong- may be some tests?
Re: Help, I have WA 16
Posted by IFIT 18 Oct 2006 16:16
All right, I find the problem.
When i debug test on my comp with brute force method, i found that function that cross cuts in "slide line" method works incorrect ( i'll say no body where :) ). I now I have SA!