Berted's blog

By Berted, 7 days ago, In English

Dear Codeforces community,

We are excited to invite you to TOKI Regular Open Contest #16!

Key details:

Scoring distribution: 100 — 200 — 350 — 450 — 500 — 550 — 850

Finally, we would like to thank:

Please register to the contest, and we hope you will enjoy the contest!

UPD: Contest is over!

Congratulations to our top 10:

  1. satashun
  2. wiwitrifai
  3. hitonanode
  4. pikmike
  5. kotatsugame
  6. Maripium
  7. LayCurse
  8. tfg
  9. tute7627
  10. nuip

Congratulations to our first solvers:

Editorial is available here. (English version is available on page 8)

You can upsolve the problems here.

Thank you for participating and we hope to see you on the next contest!

 
 
 
 
  • Vote: I like it
  • +144
  • Vote: I do not like it

»
7 days ago, # |
Rev. 2   Vote: I like it +52 Vote: I do not like it

imagine editing your comment because of samsudin

»
7 days ago, # |
  Vote: I like it +49 Vote: I do not like it

Fun fact: The problem writers of this contest are Indonesia's participants in IOI 2020.

»
5 days ago, # |
  Vote: I like it +18 Vote: I do not like it

who's samsudin?

»
4 days ago, # |
Rev. 3   Vote: I like it +33 Vote: I do not like it

Friendly bump! 2 hours 20 minutes before the contest!

N. B. This comment is actually made so that people joining today's Atcoder Beginners Contest has a chance to read this announcement.

  • »
    »
    4 days ago, # ^ |
      Vote: I like it +19 Vote: I do not like it

    Bump! Contest in 15 minutes!

    Good luck, we hope you enjoy the contest :D

»
4 days ago, # |
  Vote: I like it 0 Vote: I do not like it

Can someone please tell, why this doesn't work for D?

Code
  • »
    »
    4 days ago, # ^ |
    Rev. 2   Vote: I like it +24 Vote: I do not like it

    This looks correct to me. In which case number does your code fail?

    • »
      »
      »
      4 days ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      The first hidden testcase.

      • »
        »
        »
        »
        4 days ago, # ^ |
          Vote: I like it +23 Vote: I do not like it

        hmm, maybe make sure that you have initialized everything correctly (init the dsu, init opp to -1)

        • »
          »
          »
          »
          »
          4 days ago, # ^ |
            Vote: I like it +19 Vote: I do not like it

          Ohh, I somehow deleted the memset (for -1 initialization) line.

          Thank you very much for your help!

»
4 days ago, # |
  Vote: I like it 0 Vote: I do not like it

can anyone share code for problem E

»
4 days ago, # |
  Vote: I like it 0 Vote: I do not like it

Problem: D

Can anyone explain why my code didn't pass?

I exactly did the same things written in the editorials.
Code
»
4 days ago, # |
  Vote: I like it +18 Vote: I do not like it

Are the test cases available to download somewhere? (I'm trying to debug my solution to G).