How to get past this weird MLE ?

Revision en1, by MedoN11, 2017-06-08 03:54:03

Hello, I was recently solving this problem : http://mirror.codeforces.com/contest/35/problem/E

My solution uses line sweep here : http://mirror.codeforces.com/contest/35/submission/27660692

It gets MLE on the first sample test case + 1200+MS. Now when I run this on custom invocation without reading/writing into file I get :

Used: 15 ms, 4 KB

Is it possible to get past this MLE ? Can someone explain what is going on?

Thanks !

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English MedoN11 2017-06-08 03:54:03 466 Initial revision (published)