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

Автор awang11, история, 7 недель назад, По-английски
Gusty Garden Galaxy — Mahito Yokota, Super Mario Galaxy

Hello, Codeforces!

IceSerpent and I are pleased to invite you to Codeforces Round 1085 (Div. 1 + Div. 2) on Mar/08/2026 17:35 (Moscow time)! While some of us will be turning our clocks an hour forward for daylight savings, our theme will turn it way back to the 2010s.

You will be given $$$8$$$ problems to solve in $$$3$$$ hours. Note that some of these problems are further divided into subtasks. Some of the problems may be interactive, so please read the guide for interactive problems if you are not familiar with them. The scoring distribution is as follows:

$$$\ \ \ \,$$$ $$$\ $$$ $$$\ \,$$$ $$$\,$$$ $$$\quad\ \ \ \ \,$$$ $$$\quad\ \ \ \ \ \,$$$ $$$\ \ $$$ $$$\qquad\ \ \ \ \ \ \ \,$$$ $$$\qquad\quad\ \ \ \ \ \ \ \ $$$

$$$750 - 1250 - 1500 - 2250 - (1750 + 1000) - 3250 - 3750 - (3250 + 1000 + 1500)$$$

The problems of this round were authored by IceSerpent and myself, awang11. In addition, we would like to thank:

UPD 1: The scoring distribution has been released!

UPD 2: Editorial is released at https://mirror.codeforces.com/blog/entry/151886. Hope you enjoyed the round!

UPD 3: The results!

Div. 1 + 2

  1. ecnerwala

  2. ksun48

  3. tourist

  4. turmax

  5. hitonanode

  6. jiangly

  7. Elysion

  8. Kapt

  9. tickcross.y

  10. StarSilk

First clears

A. LeonVir, 00:01

B. ksun48, 00:09

C. Golovanov399, 00:11

D. PelicanPilot, 00:16

E1. liaoyanxu, 00:14

E2. Ayush79, 00:33

F. littleju, 00:34

G. ainta, 01:25

H1 + H2 + H3. ecnerwala, 02:31

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

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

Auto comment: topic has been updated by awang11 (previous revision, new revision, compare).

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

As a tester, I loved the problems and wish y'all the the best of luck when participating!

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

Hope to be one step closer to Specialist.

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

Galaxy.

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

By the way, I'm one of the organizers for the upcoming MIT Informatics Tournament! If you're interested, check out https://mitit.org/ and https://mirror.codeforces.com/blog/entry/151788.

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

Hope to increase my rating.

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

As a tester, this round is memorable. I encourage you to participate.

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

Auto comment: topic has been updated by awang11 (previous revision, new revision, compare).

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

Hope this 2010s contest doesn't make my rating 2010

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

As a tester, I tested

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

Good job, artist! ❤️❤️❤️❤️

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

Good luck!

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

I wish good luck for all who will participate in DIV1 + DIV2 and I wish that all participants will show great results and Thanks for awang11 for this DIV

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

Meme

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

whats hogrider doing lol.

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

good luck for everyone

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

750 — Mario (Super Mario Bros)

1250 — Toppat clan(?) (Henry Stickman)

1500 — Swampy (Where's My Water)

2250 — Pokeball (Pokemon)

(1750 + 1000) — Hog Rider (Clash Royale)

3250 — Fire Nation (Avatar The Last Airbender)

3750 — Strike Class Symbol (How To Train Your Dragon)

(3250 + 1000 + 1500) — Bowser (Super Mario Bros)

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

Looking forward to being goomba stomped yet again

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

With brainrot slop taking over the internet nowadays, it will be wonderful to visit the brainrot-free past.

While neither time was necessarily better for its own reasons, I believe the time before 2020 was better for people who knew how to enjoy life and not feed off the shit humans create

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

Only legends can hear the voice line

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

man thats like 20 questions that crazyyyy

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

As an interactive enjoyer I hope this contest will be very orz

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

"our theme will turn it way back to the 2010s" , i feel so old.

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

is that A Hat in Time?

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

hope to become a candidate master in a few months

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

Excited for my first Codeforces round with a 2010s theme! Good luck everyone!

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

why not 1st of April?

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

i hope many indians don't participate today (due to world cup final) and i get better ratings for once.

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

hope I reach expert again.... -_-

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

what is this bro? only like 2000 people solved b and it was still less than c somehow. smh.

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

World cup final and no obvious cheaters among top ranks, WHAT A DAY !!

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

Didn't any of the testers fail B? It seems like the round wasn't tested at all.

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

What the fuck is this problem B? And why is C so much easier???

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

was F's solution finding the minimum ranks you need to remove so that all cards of same color appear in right order in the hand?

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

B and C should've been swapped

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

Congrats Team India on winning the world cup , congrats team !!

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

B felt so tough... but C and D were such a nice problem!

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

B wasn't bad but it's definitely not 2B difficulty

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

Me forced to write O(n^2) solution knowing that there exist O(n*log(n)) solution or better: This is not elegant, but because of limited contest duration, I will write this non elegant solution x_x"

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

Auto comment: topic has been updated by awang11 (previous revision, new revision, compare).

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

wtf is this contest? like, ok, div1+div2 is harder than div2, but this harder ? man i must be dumb

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

Can somebody tell how to do C?

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

    Best answer would be either taking only a single point (this is quite simple) OR take two points. For 2 points case we can just maintain a prefix + suffix sum for each index. Suppose we took $$$(i,j)$$$ such that i < j, then $$$j$$$ can never cover any extra water other than what $$$i$$$ has already covered to its left... similarly it goes for the right part as well. The only thing now left is to check the amount of water collected in the middle of $$$i$$$ and $$$j$$$... upon observation one can see the water collected will fall from a mountain (increasing then decreasing) shaped structure, and the peak would be any index in b/w $$$i$$$ and $$$j$$$ denoting the max. height in between.
    So, final answer = $$$PRE[i][1,i] + SUF[i][i+1,ind] + PRE[j][ind+1,j] + SUF[j][j+1,n]$$$

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

Was B like ternary search on the number of animatronics to use?

Like my reasoning (playing for the animatronics): at each time it makes sense to improve the least improved animal within some set. Each time beam kills the most advanced animal.

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

very depressing contest, way too hard after a

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

I think I'm doing div1 instead of 1+2

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

how to solve B?

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

I might be completely out of touch, but that did not look similar to typical div1+div2. I had a feeling of solving a regular div1 tbh (which might be my personal skill issue). A seemed not that simple as A usually are, B is just what? (i couldn't figure out what can be a good approach even, there is a counterexample for everything). D-E seemed interesting and not that more difficult than B.

What I did not figure out is why C is quadratic limits? After you've precalced answer for each single cross, putting 2 crosses is as easy as taking lca-ish point between two crosses, which is basically a point that is in the overlap, and can be processed bottom to top with merging segments and getting max, so $$$O(n \alpha)$$$ solution is definitely possible, and maybe even linear.

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

way too hard lol

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

This lunatic jumped directly into H1 after passed A, B, C only because H1 is an interactive problem and didn't know why got MLE

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

hey, looks like someone was streaming the contest live on youtube. https://www.youtube.com/watch?v=s4hMy4E_MaQ while solving

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

Problem B made me quit the contest, shifted to problem C and got flabbergasted, and then I started watching the cricket world cup cuz why not?

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

Can anyone prove that using greedy algorithm twice in problem C is correct? My code is accepted but I cannot prove its correctness.

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

I will say A < C < E < F < B < D . Seem that the parity of problem id strongly affect its hardness.

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

The constraints for E1 are fake. So annoying, I had to resubmit because of it. Assertion $$$a_i \le 1e6$$$ does not failed.

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

my first div 1 + 2....don't think I'll be participating in another one!

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

Thank you for brilliant problems! Please marry me

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

AhmetKaan was disabled after this contest. Who decides these? What should be done to undo this? I can assure you that he did not cheat

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

best div round in my life (i mean best tasks)

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

Finally ecnerwala became #1 on Codeforces

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

Despite of regular practicing not able to solve single problem in the contest. I am not understanding why I am not able to think the solution in the contest any one can guide me please

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

Auto comment: topic has been updated by awang11 (previous revision, new revision, compare).

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

Today's div(1+2) was much harder than previous any I attended :(

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

Why there were only 6000 participated this contest? Any particular reason?

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

The problems were great, but the placement could be better.

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

constraintforces

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

I demand a serious action on these people who are doing this . I came across a youtube stream which was sharing codes during live contest as for proof here is the link to stream Cheaters

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

Hi, can we please do something about tickcross.y?

This guy has cheated to gain literally around 500 rating over the past two div 1s (you even mention him as a top performer in your post here).