How to get past this weird MLE ?

Правка en1, от MedoN11, 2017-06-08 03:54:03

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

My solution uses line sweep here : http://codeforces.me/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 !

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский MedoN11 2017-06-08 03:54:03 466 Initial revision (published)