Блог пользователя bicsi

Автор bicsi, история, 5 лет назад, По-английски

Hello!

I will be continuing my "solving problems on first sight" series with another livestream on YouTube this Sunday. In case you missed my first post and don't know what it is about, please refer to the following link:

https://codeforces.me/blog/entry/73212

The stream is going to be at 3 PM EEST

If there is a contest and there is a better time for the livestream that would not clash with it, please let me know by Friday and I might adjust the time. As before, you can vote suggestions for what I would solve on this link: https://poll.ly/#/G65O8lOL (please do your best to check that I haven't actually solved the tasks beforehand). I will also be looking for suggestions inside the comments section on this blog and the one before.

YouTube channel: https://www.youtube.com/channel/UCI-n1rZ2qMCz6h53EoEAYlw

I hope to see you all on Sunday!

  • Проголосовать: нравится
  • +83
  • Проголосовать: не нравится

»
5 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Please change the time, stream is clashing with Atcoder Contest

  • »
    »
    5 лет назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    Hey, I'm afraid I won't be able to postpone the livestream. As I've seen, the following contests will be held on Saturday and the stream wouldn't clash with them. I will be more careful to avoid this kind of situations in the future. In the mean time, feel free to watch the recording at any time.

»
5 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Reminder: streaming starts in less than 2 hours!

»
5 лет назад, # |
Rev. 2   Проголосовать: нравится 0 Проголосовать: не нравится

Thanks for tuning in!

Apparently, the problem J got accepted right now without much change to the code. I'm not sure what was going on with the TLE verdicts, but the solution working after a minor change in the binary search.

Submission: https://pastebin.com/mgRs95CZ