Getting wrong answer in lightoj 1112 — Curious Robin Hood . I am new in segment tree Algorithm. Please help me .Thanx in advance .
code- http://paste.ubuntu.com/14598819/
Problem link- http://lightoj.com/volume_showproblem.php?problem=1112
Getting wrong answer in lightoj 1112 — Curious Robin Hood . I am new in segment tree Algorithm. Please help me .Thanx in advance .
code- http://paste.ubuntu.com/14598819/
Problem link- http://lightoj.com/volume_showproblem.php?problem=1112