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

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

Hello, Codeforces!

I'm pleased to invite you to open up the new year with Codeforces Round 996 (Div. 2) on Jan/12/2025 17:35 (Moscow time)! You will assist Florida Man through his whimsical adventures with $$$6$$$ tasks in the span of $$$2$$$ hours. The score distribution is as follows:

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

$$$500-1000-1500-2250-3000-3500.$$$

The problems were written and prepared by me, awang11. However, this round would not have been possible without:

We hope you find that the problems are interesting, and that you earn your desired rating gains! or losses, if you somehow want that

UPD 1: The editorial is up! Hope you enjoyed the contest!

UPD 2: Congrats to the top 5!

Div. 1 + 2

  1. Forested

  2. maspy

  3. potato167

  4. A_G

  5. Otomachi_Una

Div. 2

  1. loK10

  2. turgon314

  3. BINYU

  4. -ian

  5. _Enana

First clears

A. aryan12, 00:00

B. ankan.2526, 00:03 (Div. 1 + 2: arvindf232, 00:03)

C. Sunflower233, 00:11 (Div. 1 + 2: DE_aemmprty, 00:07)

D. agaforces, 00:32 (Div. 1 + 2: Survivor_winner, 00:18)

E. myheartwaing, 01:50 (Div. 1 + 2: tute7627, 00:37)

F. N/A (Div. 1 + 2: maspy, 01:04)

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

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

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/137822.

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

hope to reach 1500+)

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

Looking forward to a very galactic contest!

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

As a tester, there are atleast 6 exciting problems to solve.

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

sounds like an interesting theme, can't wait to participate

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

-

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

As a tester, wow its the first time I have seen an announcement with centered score distribution

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

Nice art, hoping to bounce back to CM!

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

As a beginner[I can only solve questions with a rating up to 1000], should I join the contest? "

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

    div.3 is better

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

    you can probably do only the first question. Div3/div4 would be more suitable for you.

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

    It's a div2 contest so you probably won't be able to solve many problems (typically 1, or sometimes 2, problems in div2 contests have <=1000 difficulty), so div3 or div4 would be better for your level.

    Still, in my opinion, even if a contest is hard you have nothing to lose from participating (not even rating for your first couple of contests). Since it's your first one, your rating will increase a lot anyway. Also, there aren't div3 and div4 contests as often as div2.

    When I started, I simply participated whenever I had time (my 2nd and 3rd contest were div2) — actually, I still do -, but some people probably prefer to only participate in beginner contests at first, and that's fine.

    It's totally up to you. Just don't be disappointed if you find a contest difficult — you'll get much better with time.

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

    Definitely,
    And this goes for every contest that you are eligible to participate in

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

as a participant, i will try to climb mountains of problem C

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

as a tester, all I can say is bless yourself for an exciting div2 round.

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

Great art for score distribution.

Also the first contest where magic will be disappeared, the standings will be less confusing.

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

hope to climb to specialist again

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

As a participant, this announcement broke the record for the shortest announcement. Second place

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

What are sixth and fifth images (3000 and 3500 points question) ?

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

Does it means D is harder than Ds in other div2s?

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

Don't worry guys it will be an easy contest.. afterall awang11 is a Pupil.

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

Hope to back expert :)

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

(small_announcement == small_statement)?yes:no;

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

I hope I become the 2250 rated eagle and fly through the contest :)

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

My guess for the problem topics:

A: Climb a tree faster than a Crocodile

B: Find the formula such that throwing Sulfuric acid does no damage to your body.

C: Climb the Everest in winter with no socks and bare hands.

D: Spot the difference in the 2 pictures faster than an Eagle.

E: Find needle in Haystack in $$$O(1)$$$ complexity.

F: Break the fourth wall. (Good luck!)

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

After studying only Number theory and STL basics can i participate in this division 2 contest?? Hope! I will be able to solve few questions. Suggestions and comments about topic to cover after wards are appreciated.

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

    (As I said in my previous comment) I believe that (as long as you're not disappointed when you find a contest hard, which you shouldn't be), you should enter as many contests as you can. Number theory and STL are enough for a decent performance, especially with practice.

    If you're comfortable with basic techniques such as brute force, greedy and binary search, you should learn the basics of DP and/or (especially if you're also participating in olympiads) graph algorithms.

    The most important thing to do, though, is practice by solving problems. Also, remember that it's more important to solve problems that require you to think a bit than to solve a lot of problems, so don't just solve, for example, as many 800 rated problems as you can, unless you find them challenging.

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

      Thx for your time . It's so nice of you. I started cf last december only hence i think would take some time but i will be consistent i promise. Though i didn't still study dp ,binary search or greedy techniques, i will continue giving every contest and will work harder and harder for ICPC . Can u tell how many problems should i solve for each topic say number theory .

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

        I'm glad I could help!

        There's no specific number of problems you should solve — just solve enough to feel comfortable with that topic. Regarding greedy, there's not a specific thing you should learn (greedy algorithms are just the ones that always chose what looks like the best option at the time), so you should just practice — I recommend solving CSES Sorting and Searching problems for that.

        You should also solve random problems (just filter the problemset by rating and solve the problems one by one), because it's important to practice not only specific topics but also problem solving in general. Start with problems with difficulty 800 and solve some until you find them easier. 30-45 minutes is the ideal amount of time a problem should take you for you to practice (Credit to Dremix10 orz for telling me this), so once it drops to about 15 minutes start solving 900, then 1000 etc.

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

hope to reach specialist!!!

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

Hope to reach 1900

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

Hi people and awang11 Is Rust not supported in this contest? The email I received mentioned only the following supported languages: "C/C++, Pascal, Perl, Java, C#, Python (2 and 3), Ruby, PHP, Haskell, Scala, OCaml, D, Go, JavaScript, and Kotlin." I’m new to Codeforces and wanted to confirm if Rust is supported, as the ProblemSet on Codeforces indicates that Rust is a supported language.

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

hoping for pupil this round

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

D has 2250 points, damn!

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

these look like something in plague inc

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

This Will be My First Contest

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

i just want to be dark blue

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

Hello to all the candidates!

I want to ask a question that what are the rating of problems that have score distribution of 1500 typically in a Div. 2 contest ?

I am asking this because I am able to solve 500 and 1000 scored problems but find it very difficult to solve problems rated above 1000.

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

    In the latest div2s with identical score distribution to this one's, the difficulty of C was between 1300 and 1600, so you can expect it to be somewhere in that range. However, the scores are just the difficulty of the problems relatively to the other problems of the same contest, so two problems with equal scores, but in different contests, might have very different difficulties.

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

Can I give this as it's my first ever contest. Like what will be level of the problems?

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

This is going to be my first contest on codeforces !!

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

Just curious why priyanshu.p has SO MANY skipped solutions?! Not just a single solution but all solutions of the contest — multiple times — and the last one in Sept 2024.

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

Why is my hack 8 min in queue, is that normal? I never hacked before so idk...

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

Don't make any contest again.

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

Bruh everytime I got WA its due to me using int instead of long long literally fell from 2000 to 4000 f man atleast I learned my lession

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

What does this mean in hacking?

Validator 'validator.exe' returns exit code 3 [FAIL Expected EOLN (test case 1, stdin, line 3)]

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

how tf did 6000 solve C? Did it leak?

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

trash contest

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

there should be a problem with florida man's twin brother fights him tbh

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

difficulty jump from D to E is insane (no complaints just a fact).
0 div2 guys solved E or F, gg.
UPD: 2 (one — former GM, two — dude who spent two hours on it)

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

How do we solve C, other than solving $$$(n + m)$$$ linear equations?

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

Fun problemset! Never thought i'd make expert orz

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

Recently up-solving I developed a fear for Linear Diop, Linear Eqns, LU Decomp, Gauss Elimination and had it on my list that I need to understand these concepts and code. While problem C might not be any of this, I was scared to my nerves by the end I read the problem. Nice contest though :)

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

im curious for those who solved C whats your thought process, please Enlighten me

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

    It could be seen that $$$x \cdot n = x \cdot m$$$ as they are the sum of the matrix. If $$$n \neq m$$$ then obviously $$$x$$$ must be $$$0$$$, so I think we could make $$$x$$$ equals to $$$0$$$.

    To make it possible, we could traverse each point in the path from $$$(1, 1)$$$ to $$$(n, m)$$$ and try to fill in each cell such that the sum of either the row or the column containing that cell, let's call it $$$(curx, cury)$$$, will be $$$0$$$. The path will guarantee that each time we traverse, either the row or the column only contain $$$(curx, cury)$$$ to be filled, and we can fill in the cell with the $$$-sum$$$ of that row or column. Submission 300689317

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

I solved C by merely guessed x = 0 will work for all cases after tested by hand a few matrix.

The solution is if s[i] = D means the a[i][j] will solved by the -sum(row), else -sum(col).

Kinda guessed without proof and AC like a charm.

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

who guessed the observation in 2C won the whole contest

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

What in the Itachi Crow Montage D was there today :}

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

hate questions like C which is basically guessing the answer.

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

I hate crows

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

how to solve E?

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

It took about 20 minutes to me to understand D :(

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

I loved the contest, although E and F look hard based on the submission count. I'm pretty sure I solved D 3 mins after contest end

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

too close O_O

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

Problem C. I wasted my time trying to solve for an exact solution for the linear equations (I was trying to implement gaussian elimination -_-. It won't even fit the time). so according to what I read in the comments any x could've solved it. so there are infinite solutions then? like the case where we have 2 equations of overlapping lines?

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

Problem C was a dumb guess and problem D was too hard. Please don't make such problems.

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

On a contest page under "Contest materials" section I see cross buttons on "Announcement" and "Editorial".

What will happen, if I will push them?)

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

they skipped my solution for A

its literally

   int n, a, b;
        cin >> n >> a >> b;
 
        int d = abs(b - a)-1;
       {
            if(d%2==0)cout<<"NO"<<endl;
            else cout<<"YES"<<endl;
        }

explaination please? lol

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

when I try to go to editorial it says you are not allowed to visit requested page

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

Couldn't solve C because i didn't see that x should be 0. Just wandering if there is some kind of strategy for solving observation problems like this one

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

The link to the editorial doesn't work (It says "You are not allowed to view the requested page"). awang11 please check what's wrong.

UPD: it's fine now, sorry. I'm not sure why it didn't work before. (I checked it again right after posting this and it was OK)

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

I can't believe that I only managed to do C because I tried a different value, still got 0 on the final column and just assumed we need the sum to be 0.

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

Speedforces

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

My hack data was not added to the final dataset.

My hack data

Submission after contest

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

I can not understand testcase 2 of problem B during contest. so sad!

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

Today C was totally Gpt Solvable , I have seen that almost solution are same , I am sharing the link to Gpt response, Where it gave almost 99 percent correct solution. Here you can you see. I think that problemsetter should check. So this can be avoided from Next time.

Your text to link here...

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

    The key observation here was that the sum of all rows and columns is 0, which I don't think the gpt has realized. The implementation was obviously very easy But then again, I haven't checked by prompting the gpt again and again, so not sure

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

    It's very difficult to make only the problems that are not gpt-solvable nowadays, and it will be getting even and even harder. It won't even take years for gpt to solve almost every 2D problems, no matter how the problemsetters try to avoid it.

    Making contests is already a tough procedure and I hope we don't add additional pressure to the setters to give up many interesting problems just because they are gpt-solvable. It's more of our community & admin's work to strictly behave against those who break the rules.

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

Bot check ankan.2526 please, the first solver of pB.

The submission patterns look very AI assisted.

e.g. writing in 3 programming languages, not passing pretest 1, trying problem D and E within 1 minute.

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

Hope i solve 3rd one and stay consistent :)

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

What is the difficulty rating for div2 D?

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

So, according to the note in Problem E, the Florida Man's name is by any accidient Emporio?