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

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

Hello, Codeforces!

I'm thrilled to invite you to take part in Codeforces Round 1044 (Div. 2), which starts on Aug/24/2025 17:35 (Moscow time). You will help Steve solve $$$6$$$ of his most dastardly problems in $$$2$$$ hours. The score distribution is as follows:

$$$\,\,\,\,$$$ $$$\,\,\,\,$$$ $$$\,\,\,\,$$$ $$$\,\,\,\,$$$ $$$\,\,\,\,$$$

$$$\,500\,-1000-1750-2250-2750-3250$$$

One of the problems may be interactive, so make sure to read the guide for interactive problems before the contest.

The round will be rated for participants whose rating is below 2100. Participants with higher rating can participate unofficially.

The problems were authored and prepared by me. I would also like to thank:

Good luck!

UPD: Editorial

UPD2: Congratulations to the winners!

Div 1+2:

  1. 111445
  2. Sugar_fan
  3. Otomachi_Una
  4. cyx
  5. kotatsugame

Div 2:

  1. cyx
  2. TomitaMatei
  3. Yahia_Emara
  4. Brinton
  5. dsdp

First solves:

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

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

As a tester I encourage participants to write their solutions in minecraft redstone.

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

As a tester, I confirm that yuri is a substring of sammyuri.

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

As a participant I encourage participants to use a minecraft book & quill as your ide.

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

As a tester, I can conform that the problems are very interesting and high quality.

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

As a tester, I hope I can place my minecraft bed next to yours.

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

As a tester, I can confirm Chicken Jockey is mentioned zero or more times.

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

As a tester, I confirm that sammyuri is actually Steve irl.

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

As a Minecraft player, I bet the first problem will help Steve get wood, and the last one will help him beat the Ender Dragon.

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

Excited to give a contest after so long. Thanks for making it<3

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

As a tester, I think I forgot to test...

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

As an alleged tester, I did not look at the problems or test the round, because my Windows install is slower than sammyuri's redstone computer.

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

I am very excited for div2 after long time but I have a question

we have div2 after such a long gap, but now we have 3 div2s with 2 days gap, I wish they were spread apart like 1 contest each week. What might be the reason for such a schudule ???

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

Codeforces X Minecraft collab

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

minecraft ore contest.

diamond testing for cyan would be better imo.

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

hold atto round 2 as before

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

wait, will i get help? omg, thank u so much. :)

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

I wish we make to the end of the contest not just the nether. Huge thanks to moonpole for the effort

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

I will blow up the contest (BOOOM).

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

For clarification reasons.. I think D is a chkicken-jockey

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

What is 2250?

Redstone — Villager — Nether Portal — ?? — Diamond Pick — Flint n Steel

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

How to become a tester?

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

How did the nether portal come before the diamond pickaxe and the flint and steel?

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

Moonpole has so much aura

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

The FBI ( Frfr Bro International) leaked the problems!

A: fix the redstone circuit

B: Get mending for my armour

C: Go to the Nether

D: Chicken Jockey

E: Go mining

F: Flint n' steel

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

Looks like C will be significantly harder than B

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

I am STEVEEE

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

broooo i never knew sammyuri is on codeforces, totally a surprise for me

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

It looks like the ones who solve problems A, B, and C quickly will end up with good rankings.

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

hope to reach 1750+ in this contest

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

We got Codeforces X Minecraft collab before GTA VI

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

"One of the problems may be interactive"

The interactive problem:

You will be given a Minecraft world seed. You must render the game screen while being fed the player's inputs

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

I am back on codeforces after a very long time, this time for the right reasons, not to crack jobs but to be just good at problem solving which is very fun I believe. Wish me luck:) IMO codeforces is the one of the best platform where I can find very intelligent people to compete with.

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

    Truly, I am incredibly blessed to hear that. For greater numbers are an invariably magnificent way to use the gift of sight. I wish you a joyful experience before, during and after today's contest.

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

Great MC problems, the last time I've seen was CF2113C

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

Long ass problem statements scare me more than harder ones, i hope problem statements are short and concise

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

Does anyone know what's in the fourth picture =O In my view, it's like a zombie wearing an iron chestplates...

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

The statements are way too unfriendly for non-native English speakers :(

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

As a Minecraft player, I liked the contest!

Thank you sammyuri for such an amazing contest ^_^

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

Slow solve on $$$ABC$$$ got me fucked up :(

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

How so many people able to solve C ?

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

I should start from E instead of D :(

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

figured div2C quickly

But forgot the condition x (starting node) belongs to S and spent around half an hour because I was getting memory limit exceeded .. darn it.

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

I got ABC in a div 2??? was this an easier contest? definitely getting some elo, kinda makes up for absolutely bombing today's LC contest.

Great problems though, I love the minecraft theme.

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

As a participant, I can confirm I was jamming to Lava Chicken during the contest.

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

how E?

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

    A connected component with size no greater than 3 must be a chain, so during DFS, delete all nodes with size greater than or equal to 4

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

    divide tree into paths by cutting nodes using operation 2, you can do greedy dfs, from it you get construction + proof that you don't need to cut more than n/4 nodes, after that you just clear each path from one side to another

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

    if Tree was a bamboo tree, we would easily could solve the problem using operation 1 starting from leaf. So we could try to transform our tree to a forest of bamboos using operation 2, we have floor(n / 4) operations for that.

    n / 4 operation means a one operation per 4 vertices. 4 is the exact number of minimum vertices required for a tree to be non-bamboo. So we could transform our tree to forest of trees with max number of vertices 3.

    In order to transform the tree to a forest of trees with <= 3 vertices we can root tree arbitrarily, and greedily remove vertices that leads to a tree with > 3 vertices from bottom of the tree.

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

The worst D/E problems ever (problem D even online translators can write it in a better way)

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

Can anyone explain the 3rd testcase of D. How to get 7??

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

how to solve D?

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

For question C : https://codeforces.me/contest/2133/problem/C got this error "Idleness limit exceeded", even after using cout<<endl and cout.flush(); https://codeforces.me/contest/2133/submission/335397878

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

    line 39, you only outputted two variables, while the minimum needed is three, the machine got unfinished query so it did not return a input, since you did not complete the output and outputted a ? afterwards, you were assumed idling

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

I used to think that most Indians cheat But now I realize that almost all Indians cheat I realized this when I saw that all the people sitting next to me on the top were Indians! Maybe it's because of their large population, I don't know

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

Can we do dp on E to find optimal way to break the tree so that all nodes have deg <= 2 and just use operation 2 based on the dp transitions ?

my dp was like dp[node][degree] where we compute for all degrees {0, 1, 2, 3} :)

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

I’m really upset that in Div 2, Problem C was interactive. If you want to include interactive problems, at least place them after the 3rd or 4th problem, not so early.

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

3rd one should be named Cobweb I hate interactive problems ig gotta practice those

4th one was more intuitive for me as compared to 3rd

anyways thanks for this Minecraft contest

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

As a participant, I'd like to note that problem A used items that were removed from the game.

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

I think problem D was not clearly written, which led to me reading it wrong. :(

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

lucky!i got d with only 30s

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

Great round!

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

What the heck?

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

As a noob participant I liked the contest

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

Hello,

My handle is Delulu_69. I would like to self-report submission 335389804 for Problem C in Contest 2133.

I used GPT to fix a syntactical error, but it inadvertently changed the logic. I request that this submission be reviewed and invalidated if necessary.

Thank you.

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

i am a newbie , i registered for this contest , joined the contest , solved first 2 (A+B) , but my name is not in final standing , nor did my rating increase or decreased .

but i solved the problems , got accepted also , and it showed all pretest passed , one showed pretest passed 2, and was green .

so why my rating didn't changed

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

    It usually takes 1 day or longer to apply rating modification, the longest dely I have ever seen is almost 1 week, since a large number of contestants cheated with AI in that round.

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

Isn't this contest rated? My rating is Pupil. Because, in the contest section, it is unrated for me, like showing no rank.

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

the statement of D was ambiguous, I used nearly 20mins to comprehend how to calculate the fall damage

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

One of the best contests I participated. I wish sammyuri make more rounds.

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

The one who first solved problem D is a legend

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

good D love it, and It would be even better if the text explanation were clearer

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

excellent contest:)

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

problems in this round (A — E at least) were really cool. Shame that it was held at the same time as ucup semis.

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

Any recursive dp solution for Problem D

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

Steeeve, you code your life awaay.

You could've built a real house, you could've made a famiilyyy.

The original song is the same but it's play not code.

Also this is the song:

https://www.youtube.com/watch?v=zSOQKNp2wHE

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

"A delayed start is okay if it leads to a better ending..." Due to some technical difficulties, I was late to solve the 1st problem. But that only made me more determined -> I managed to score the 3rd problem, Siuuu... #CodeForces

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

omg, Minecraft? OvO.

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

deleted