acash's blog

By acash, history, 5 years ago, In English

This is authors solution 55959992

This is my solution 55959887

I am getting TLE although i have used the same approach

https://codeforces.com/contest/675/problem/D

  • Vote: I like it
  • 0
  • Vote: I do not like it

»
5 years ago, # |
  Vote: I like it +5 Vote: I do not like it

Check this

»
5 years ago, # |
  Vote: I like it +5 Vote: I do not like it

Try using set's upper_bound instead of upper_bound from header algorithm.