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

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

Hello Codeforces, and the legends of across $$$999$$$ and more rounds!


wuhudsm, Think_Only_Once, and I are beyond excited to invite you to Codeforces Round 1000 (Div. 2) at Jan/22/2025 15:05 (Moscow time). Please note the unusual time of the round ($$$\color{red}{2.5}$$$ hours before the usual time)!

The contest contains $$$6$$$ carefully crafted tasks, one of them divided into two subtasks, to be solved in $$$2$$$ hours. You will solve tasks themed around Little John and his shenanigans aimed towards getting his own dream home (featuring, probably, galvanized square steel).

This round could not exist without the thankful help of these so many people:

The score distribution is as follows.


$$$\mathbf{500-1000-1500-2250-2750-(1750+1500)}$$$

Before finishing the announcement, I would like to spoil you a little of how the round's story ends.

Little John worked hard, honest and diligent for years, and finally got a home of his dream.

In that sense, I want You to be like Little John in this round.

Hard, honest and diligent will give you the rewards you deserve.


Anyways, that's all for the announcement; Good luck, and have fun!

UPD1: The score distribution has been announced.

UPD2: The editorial is posted here. Also we have good news that I will post as a separate report blog soon...

Spoiler

UPD3: Congratulations to the winners!

All participants:

  1. sunjia (oops, the user is gone now)
  2. Golovanov399
  3. maspy
  4. jiangbowen
  5. A_G
  6. fnoihzhyan

Rated only:

  1. sunjia (oops, the user is gone now)
  2. fnoihzhyan
  3. RGB_ICPC9
  4. wangzirui123
  5. Network_Error
  6. BSpioneer

UPD4: Anti-LLM Evaluation Report is published — the first of its kind for Div.2! Please kindly take a look if you have some free time or are just interested.

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

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

As a tester, I tested the 1000th round.

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

As a tester, this round was certainly one of the rounds of all time.

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

As a tester, this is indeed a historical round!

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

As a tester, I didn't really test.

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

As a tester,

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

As a tester, I can confirm that $$$10^2=1000$$$

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

As a non-tester, I commented before phir..

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

letssssss gooooooooooo 1000th round!!! Sad I can't participate bc I have final exam :(

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

1e3 Nice

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

1e3

Spoiler
»
21 месяц назад, скрыть # |
← Rev. 3  
Проголосовать: нравится +13 Проголосовать: не нравится

As a tester,I was expert when I tested.

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

as a tester, we needed more testers

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

As a tester, this was my first contest for testing.

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

As a non-tester we need more testers

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

Am I the only one who subconsciously thought "Yay, contest 8 in binary!" instead of "Yay, contest 1000!" after reading this? (Yes, that was my actual first thought)

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

As a tester, this is my first "As a tester" comment

»
21 месяц назад, скрыть # |
← Rev. 2  
Проголосовать: нравится +70 Проголосовать: не нравится

As a tester the chain is an elaborate plot to farm contribution (and this one too)

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

that sounds like the 8th contest in other words

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

As a tester of Codeforces Round 960 (Div. 2), hope the round will be interesting for you, or learn new knowledge, or get good delta.

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

As a tester, I can confirm that firefly is my waifu.

Spoiler
»
21 месяц назад, скрыть # |
 
Проголосовать: нравится +5 Проголосовать: не нравится

A millennium of brilliance! Congratulations, CodeForces! #CF1000

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

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

As a first time tester, it is cool that my first time is in such a special round.

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

Sadly I'd be missing out this round, good luck to all the participants.

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

hope for many bitset problems

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

Quite Excited for the 1000th round :)

»
21 месяц назад, скрыть # |
 
Проголосовать: нравится -15 Проголосовать: не нравится

Why unusual time in 1000th round :(

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

It finally happened

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

As a tester, I am so happy to have tested the 1000th round. Fun fact: 1000 is the smallest composite number after 999.

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

Finally, someone has not forgotten about grey testing. Wait...

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

Wow. 1000 contests. Whatever you have, school, work, whether it is night or early in the morning we must all participate. Let's make the 1000th contest the best ever.

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

As a tester, I FORGOT TO COMMENT

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

probably the strongggest tester-lineup ever. orz!

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

First round I tested :)

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

can we know what are the points for every question please :)

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

galvanized steel mentioned!!!!

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

The 1000th contest is at 4AM for me but I'll probably still participate.

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

Seems like no interactives. Saaaad (|;/

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

The Round 1000 with unusual time! A good time for Chinese

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

As an author, I can confirm that gcd of the score distribution is 250, excuse me if it changes to 500.

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

As a participant, I can confirm that the contest has 1000 — 1 problems if we see F1 and F2 as 10 problems.

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

As someone who knows nothing about the round, I hope that:

At least one problem has $$$n \leq 1000$$$.

Every problem has $$$t \leq 1000$$$.

There is a *1000 rated problem (luck based).

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

Bold Score distribution ??? , chromate00 is cooking.

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

Why is the monumental codeforces round 1000 at 7am in the definitively best timezone on a weekday??? (did I just piss off a good part of the world? yes and I'm not sorry)

I really wanted to learn about Little John and his galvanized square steel, screws he borrowed from his aunt, and eco-friendly wood veneers

Sadly I guess I wont be able to.

GLHF to those participating, may bitset waifu bless you.

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

why not the usual time :(

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

do i consider trying F after C

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

As a tester, this cunning dogo encourages you all to participates in this round.

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

As a yellow tester, I was able to be promoted to red tester before the contest.

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

As a participant, i will try to solve 10^C Problems :)

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

As a non-tester, I would like to become a tester for any of the rounds. :)

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

Let's go We are in the new era

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

Wow — Just 24 to go until a big round-number milestone!

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

Will this contest use mod = 1e9 + 9 ?

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

The 1000th round of codeforces, also the 1st round in the jiangly era

~(∠・ω< )⌒★

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

I think the D will be difficult, so I will do the D first. If I can't do it, I will give up the contest without any submissions. :(

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

as a participant, it is my 100th contest

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

I mean, I just have to leave something here to prove I will be in such a historical contest

»
21 месяц назад, скрыть # |
← Rev. 2  
Проголосовать: нравится +19 Проголосовать: не нравится

I have moved to a country which is exactly 2.5 hours ahead of my home. Good luck for me that this contest happens to fall at my "usual" time at home. I have to participate for old times sake.

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

Participating 1000th round before Ronaldo hits 1000 goals

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

Hopefully I can become an expert through this contest.Good luck.

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

As a non-tester, I believe that this context will be something more than just a context, this is a mark of 1000, we can say that this is a very memorable mark in codeforces itself, for which I very much congratulate them

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

It would be great if i could solve 3 problems in 45 mins and 4th one by end of the contest

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

As a participant, I'm gonna participant in a historically legendary round!

I wish success to everyone who is participating and thanks to everyone who tested, problemsetted and overall contributed to this round!

<3

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

As a participant i hope to reach cyan

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

Congratulations to Codeforces for allowing a confirmed cheater to host and write an announcement post for their thousand-th round, which is criticized by a confirmed sub-account (lol)

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

Dominater069 for identifying as green;

So did he test the contest as green or is this him coming out? lol

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

Round 1000! Great!

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

I started with Round 320 and now at 1000 today! The excitement is still the same. What a ride it's been. Here's to many more!

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

I will give this round from my office :)

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

It's wonderful to be able to participate in such a historical round.

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

I wonder if there will be such day where i would solve div 2 D

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

Came to register for contest and found that contest is almost over. Totally didn't missed to notice the unusual timing.

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

What's up with C? Why is removing the highest degree node, updating degrees, and then removing the highest degree node again wrong?

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

D kills me.

»
21 месяц назад, скрыть # |
← Rev. 2  
Проголосовать: нравится +1 Проголосовать: не нравится

Help me out please why is my DP solution for C giving WA on test 2?

Edit: Nvm I got it. I missed the case where we take 2 descendants.

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

this contest want to make me kill my self

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

i hate myself

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

Wow opened codeforces the moment contest ended and missing the 1000th contest because of missing the time . Yayy Luck :)

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

I think this contest is perfect! Problems have no mistakes and their qualities are high. I have a nice experience through this contest!

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

forgot to remove my debugging prints on my last submit lol

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

Wasn't able to implement it but here is what i think the solution for F2 is, let use assume that we are trying to find the answer for the first $$$i$$$ segments, we define the score of any segment $$$j$$$ as the number of points inside the segment $$$j$$$, for which $$$j$$$ is the minimal segment i.e. for any point $$$i$$$ and segment $$$(l,r)$$$, this segment is minimal, if $$$l \le i \le r$$$ and there doesn't exist any other segment $$$(l1,r1)$$$ such that $$$l1 \le i \le r1$$$ and $$$r1-l1+1 \lt r-l+1$$$. Now, the answer is the product of the catalan numbers for each segment's score by 2.

To handle addition of segment $$$(l_i,r_i)$$$ efficiently, you just need to find the minimal segment $$$(l,r)$$$ for any point inside $$$(l2,r2)$$$ and change the score of this segment and update the answer. This is a standard problem that can be done in $$$O(logn)$$$.

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

Why am I getting wa on pretest 3 for C? Code In first dfs I tried deleting 2 nodes from subtree of a node. In second I tried deleting current node and one node from its subtree. I kept a check if difference in height of max children node and current node is 1 to subtract 1 for the empty middle portion.

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

My screencast (in Rust). Should be available when video is uploaded.

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

Why my code for C failed at pretest 4, My Code 1. I tried removing highest degree node,then recalculating degrees and then again removing highest degree node

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

thankfully, data structures made round 1000 go terrible!

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

C was quite typical for me I knew i have to remove the two nodes with maximum adjacent nodes I m implementing it wrong ig :(

Can anyone explain to me like a 5 year old

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

OpenAI o1 only solved 1 problem.

ChatGPT BTFO XD

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

i am never using accumulate again in my life

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

This cloudfare stoped me from submitting my correct code to E。

It stucked me for about 3 minute。 Do I look like a robot?

I can't be CM now。

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

Can anyone please tell me why my code for problem $$$D$$$ got WA on test 6 ?

my idea was to take the highest value between $$$a.back() - a.front()$$$ and $$$b.back() - b.front()$$$ if I can

and if this will result in reducing the number of ways to take the last triangles, I will output the answer and then remove the highest value and take the smallest one

what is wrong with this idea ?

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

Can D be solved using ternary search? By the time I finished implementation the contest just got over. My code is passing samples, will have to wait for system tests to finish to see if it works.

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

I am fortunately that I didn't participate in this contest, if I do, i will become a Specialist.

»
21 месяц назад, скрыть # |
← Rev. 2  
Проголосовать: нравится +1 Проголосовать: не нравится

1000th round and I messed it all up

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

So what's the meaning of F1 :thinking:

»
21 месяц назад, скрыть # |
← Rev. 3  
Проголосовать: нравится -8 Проголосовать: не нравится

????

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

Missed F1 by 1 second :(

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

I thick E is much easier than D.

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

Problem C really tricked me into doing a casework DP :(

»
21 месяц назад, скрыть # |
 
Проголосовать: нравится +23 Проголосовать: не нравится
Help ! My submission on C wasn't passed to system testing
»
21 месяц назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Is this round rated or not? I solved 1 problem and expected my rating to rise.

»
21 месяц назад, скрыть # |
← Rev. 2  
Проголосовать: нравится +1 Проголосовать: не нравится

I'made a mistake,I took the round way too casually.

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

Happy 1000 everyone!!

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

This was such a beautiful contest thanks !!

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

Can somebody give me some solid edge test cases for C problem, I don't know why my code is failing?

»
21 месяц назад, скрыть # |
← Rev. 4  
Проголосовать: нравится 0 Проголосовать: не нравится

For C, is this a valid testcase? Answer should be 5 but one of my code gives 4 but it got accepted.

1

12

1 2

1 3

2 4

2 5

3 6

3 7

1 8

4 9

5 10

6 11

7 12

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

As a tester, this is indeed a historical round!

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

every time i see miku in comments i remember De3b0o

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

For problem D , after fixing $$$[l, r]$$$ for a fixed $$$k$$$ , how do we calculate the maximum value of $$$f(k) = \max_x g(x, k - x)$$$

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

what happened to sunjia?

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

Is it just me or other people also thinks that the problems D, E and F1 have similar difficulty?

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

Contest is awesome