F112's blog

By F112, history, 20 months ago, In Russian

Can anyone help with this problem : https://codeforces.me/problemset/problem/242/E

I'm trying to use Segment tree. but there is Presentation Error

This is my code : https://ideone.com/FiMb2o

  • Vote: I like it
  • +1
  • Vote: I do not like it

»
20 months ago, hide # |
← Rev. 2  
Vote: I like it +1 Vote: I do not like it

you have missing in const int N

you need bigger value of N