rpmdoestuff's blog

By rpmdoestuff, history, 11 months ago, In English

I am trying to solve 165C using binary search, but it is getting TLE. Can anyone help?

Here's my code: 208389930

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

»
11 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by rpmdoestuff (previous revision, new revision, compare).

»
11 months ago, # |
  Vote: I like it +3 Vote: I do not like it

The max length of s is 10^6, not 10^5.