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

Автор atcoder_official, история, 7 месяцев назад, По-английски

We will hold KEYENCE Programming Contest 2023 Autumn(AtCoder Beginner Contest 325).

We are looking forward to your participation!

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

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

250 for B will it be hard

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

Just want to solve A... I'm to weak...

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

sfs

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

How to solve D ?

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

How to today's D? E was easier than D.

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

problem C was the number of islands, it was a kind of standard graph problem.

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

I solved D, but couldn't solve E.

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

For problem C, why does it not work if I do not use a visited set? It should be sufficient to mark it as empty "." right? Is there an edge case i am missing here?

https://atcoder.jp/contests/abc325/submissions/46818827

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

Can someone tell me what is wrong in my solution for problem D?

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

can someone tell what wrong in my solution for D https://atcoder.jp/contests/abc325/submissions/46827017

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

can any one tell me what the topic of problem d?

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

    scheduling trick: pick the first-ending task use cp-handbook greedy section to learn about it

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

      thank you bro (=

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

      Not exactly the same problem... if i recall the one in cph disallows choosing another task whilst performing the first one, so the proof for this problem is different from in CPH. However its true the greedy is the same.

      Seems like the proof is a bit difficult... wonder why they omit it in the editorial :|

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

How to solve $$$F$$$? I thought of dp but couldn't think how we gonna do it!

  • »
    »
    7 месяцев назад, # ^ |
    Rev. 2   Проголосовать: нравится +5 Проголосовать: не нравится

    $$$dp_{i, j} = \min$$$ number of type-2 sensors to cover first $$$i$$$ ranges if we also use $$$j$$$ type-1 sensors

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

UPD: Never mind

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

Forbidden

REVEL_CSRF: tokens mismatch.

»
7 месяцев назад, # |
  Проголосовать: нравится +3 Проголосовать: не нравится

I think problem F is very inspiring, even though I didn't come up with that definition as the editorial mentions.

However, this reminds me of a problem that I have met before, which involves a similar idea https://codeforces.com/contest/745/problem/E.

When I first met some new ideas, I could keep that in mind, maybe for several days, and this time, it shows again that, I will forget it sooner or later. I think I should practice harder and more.

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

Don't know why but Dijikstar's didn't strike to me during the contest and i was bullish on Dp

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

Can anyone help me why this code is wrong for problem G?

https://ideone.com/TZcGWP

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

Could someone expain me this sentence?

You can switch from company car to train, but not vice versa. You can do so without spending time, but only in a city.

Does that mean once I get on the train,I can't get on the car anymore,then I must get to the n city by train?

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

My solution in problem D is almost the same as abc214_e

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

How to solve D? I solved E, but I can't solved D. Who can help me?

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

Can anyone please explain D to me in detail? Why are we not taking the start time first and all that? I am really struggling with this problem and I also didn't find the editorial of much help. Any explanation would be really highly appreciated.

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

can anyone tell me why the 3rd test case of problem B is 67 and not 66? My manual calculation gives 66. But I can't understand how it is 67.