vector96's blog

By vector96, 5 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

Read more »

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