Problems With SPOJ Posters

Правка en1, от svg_af, 2015-12-17 01:38:27

Hello There

I've been trying to solve this problem for a couple of days now and have no idea why it keeps getting WA

Here is my code

What I'm doing is compressing coordinated and using segment tree to see for each poster if the range has any visible area, this works because I'm going from last to first poster

Here's to hoping someone finds where I'm wrong :)

Теги segment tree, spoj, wrong answer

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский svg_af 2015-12-17 01:39:07 14 Tiny change: 'e has any visible area, thi' -> 'e has any non covered area, thi'
en1 Английский svg_af 2015-12-17 01:38:27 473 Initial revision (published)