Can anyone give me some hints to find out vertex points of area which problem asks ...
thanks ...
![:)](./images/smilies/icon_smile.gif)
Moderator: Board moderators
I have tested some "simple" test cases , but still got WA,SRX wrote:I got time limit exceed ...
Can anyone give me some hints to find out vertex points of area which problem asks ...
thanks ...
I would guess that you polygon cutting routine is incorrect, as I just get AC by using my code from other programs.jah wrote:I'm getting tons of WA. I have tried this problem using rationals so in case the line intersects one of the vertexes of the polygon I don't get any precision errors. I used the method described above. Could you post some tricky test cases?
Thanks in advance.
Code: Select all
Code removed after problem fixed.