vector96's blog

By vector96, 10 years ago, In English

Problem: http://codeforces.com/problemset/problem/483/B

I understood how to solve this problem in binary search but came across this O(1)solution but couldn't understand can someone explain.....

Solution: http://pastebin.com/tGmxbM6N

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

»
10 years ago, # |
  Vote: I like it 0 Vote: I do not like it