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

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

Hello again, Codeforces!

I am glad to invite you to Codeforces Round 1004 (Div. 1), Codeforces Round 1004 (Div. 2), at Feb/11/2025 17:35 (Moscow time).

In Division 1 you will be offered $$$6$$$ problems. In Division 2 you will be offered $$$7$$$ problems. One of the problems in Div.1 will be divided into 2 subtasks. Round duration is set to be 2 hours.

Also, both divisions contain at least one interactive problem(s), so be prepared for those! Guide for interactive problems

I would like to thank,

As always, we hope you will like the problems. Have fun!

Score Distribution:

Div. 1: $$$750$$$ — $$$750$$$ — $$$1250$$$ — ($$$750$$$ + $$$1250$$$) — $$$2000$$$ — $$$3000$$$

Div. 2: $$$500$$$ — $$$1000$$$ — $$$1250$$$ — $$$1750$$$ — $$$1750$$$ — $$$2250$$$ — $$$3000$$$

UPD: Editorial

UPD2: We sincerely regret to inform you that we have discovered a bug in the interactor. A series of tests is currently underway to assess the full impact of this issue. Once we have the results, we will provide a detailed update. We deeply apologize for this incident and any inconvenience it may have caused.

UPD3: After the analysis, it was determined that this problem affected a small number of participants. There are no submissions that get AC with the correct interactor and erroneously received a non-AC verdict earlier. Therefore, the following decision was made:

If your solution worked with the old interactor, but does not work with the correct one and your rating has decreased, then the round will be unrated for you.

UPD4: Congratulations to the winners!

Div.1:

  1. Kevin114514

  2. tourist

  3. Radewoosh

  4. turmax

  5. heuristica

Also, special thanks and congratulations to rainboy for being one and only one solving problem F in division 1!

Div.2:

  1. Morisz10

  2. Wxssim

  3. Aurora14526

  4. shardulisgapryongkim

  5. igAC

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

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

As a tester, I must say, FairyWinx is so orz.

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

hmm unusual score distribution D and E are same

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

As a tester, I have a proof that upvoting this comment will lead to positive delta. But the proof is too long to fit the margin.

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

Good luuuck Everyone

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

Hello, could someone please tell me when Codeforces typically runs the plagiarism check? For example, how many days after a contest does it occur? Also, for round 1002 div 2 , have the plagiarism checks (and the process of skipping certain solutions) been completed, or are they still pending?

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

Authors should know that many aren't participating in rounds that have interactive problems, it's not good for you.

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

Bring Reporting Option in Codeforces MikeMirzayanov , so that the community can help cleaning away cheaters.

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

As a tester, FairyWinx orz

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

As a tester, I should say, setters made one of the best interactive problem I've ever seen

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

As a coordinator, instead of disliking the post, disliking my comment!

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

Div.1 A=Div2. C or E?

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

As a tester, problems are exciting. I recommend participating, and wish you good luck and have fun.

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

Finally, interactive problems are coming...

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

[deleted]

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

Hi! coders.

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

This might be a round where tourist will get his badge back ||

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

I'm a bit confused on how to efficiently write code for the interactive problems

From the linked post: "Input/output in interactive problems works much slower than in usual problems — try to use scanf/printf instead of cin/cout in С++, BufferedReader/PrintWriter in Java and etc."

Does this mean in Java, we should use BufferedReader/PrintWriter? Or that instead of using Bf/Pw we should use scanner?

And if the former, I guess all I need to do is write pw.flush() at the end of my code and it should behave somewhat benign?

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

    You should flush after every output you make so that your query is not buffered and the interactive checker processes it instantly. Also, I have never really had problems with the performance on interactive problems, cin/cout were enough for me

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

From the score distribution, I would guess the 2 Div. 1 750s are the same as the 2 Div. 2 1750s.

Then the Div. 1 1250 = Div. 2 2250

And then Div. 1 2000(not the (750+1250) one) = Div. 2 3000

Now I'm thinking why they did not put the (750+1250) one in Div. 2.

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

    There are already 7 scoring opportunities in Div2.

    I'm guessing they didn't want to increase it even more to 8 so put the hard version only in Div2.

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

    We considered D2 and E in Div.1 similar in terms of difficulty (as can be seen form score distribution). And since D had subtask it made sense to place it earlier in Div1. However, for "dead last" position in Div.2, we thought Div.1E is more appropriate, mainly because otherwise both Div.2F and Div2G would be some dp/combinatorics, and with Div1E we achieved some sort of topic balance in Div2.

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

I very like problems like "C+K+S".I want contest writer make more this problems in contest.

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

facts:

  • after 15 hours, i have to hand in my winter vacation homework
  • there are still 3 writing tasks (600 Chinese characters each) to be done
  • i don't want to do them
  • if i don't finish them, my mom might not let me to use the computer in the evening
  • i just found out there is a cf round this evening, which has a great chance to give a positive delta

:(

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

I can't wait to take part in this anticipated contest!

This is my first (Div. 1, Div. 2) contest. I hope the qualities of the problems will be satisfactory.

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

As a participant,I am not a tester.

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

It would be cool if everyone got their nickname as a title

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

As a positive delta, wish everyone a participant!

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

Sorry for writing this in between the contest (I solved what i can and cant do the next one)

curiously I locked my problem and went to see room (i have never hacked a problem before)

i saw a solution (ofc i couldn't hack it) and went back

will this count as an "Unsuccessful hack" ?

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

Unacceptedforces

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

Div2C is some cancer.

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

Is this contest an attempt at not having GPT-able problems? I enjoyed ABCD even though they kicked my a*s. Didn't really get to try E or F.

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

    Hi, what's your thinking approach for B, I literally didn't got any smart idea to solve it?

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

      after struggling a lot to phrase it in a nice way, I realised that you should try to push along as much as possible from the lowest ones to the bigger ones, of course without getting to the case where you have only one (because then you can't have it in both arrays). This approach is actually O(mlog(m)), where m is the maximum value of the elements in the array.

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

        You can do it in O(m) by keeping a frequency array (arr[0] = # of 0s and so on). You can also do it in nlogn (n = number of elements), by using a sorted dictionary with a bbst implementation.

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

        My approach was also similar, but I was confused about intermediate values, like what if newly converted values will disturb parity of intermediate values 1,1,1,1,1,2,2,4 Although for TC shown below, I was able to came up with formula 1 1 1 1 1 1 1 4 (4-1)*2+1>=index(4) Like intermediate elements should occurred twice, simultaneously they should form '4'. Above check should be performed for all elements with odd frequency But didn't worked for multiple cases :(

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

          That is a decent point (about disturbing the parity). However, consider the following: If you started with an uneven amount at a low value you have to give at least 1 of the amount — 2 a higher value REGARDLESS, in hopes of finding another matching uneven in the higher values. If you started with an even, you will continue pushing an even and there is no problem there.

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

            Hi sir, thanks for the explanation.

            Understood your point 1, that if we keep passing uneven amount of values then it will match at some point as per below example Example-1 1 1 1 2 2 3 4 4

            1 1 2 2 2 3 4 4

            1 1 2 2 3 3 4 4

            Also understood your point-2, that we can keep passing even amount as well, we would still end up achieving, even parity of elements Example-2

            1 1 1 1 2 3

            1 1 1 2 2 3

            1 1 2 2 2 3

            1 1 2 2 3 3

            Just one more clarification?

            Can we say we can push element only when at least 3 identical element available in an array?!

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

    how did u solve B, I used the idea that If I want to form k ns then I need k+2 number of (n-1)s. sub Id:305692767

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

    there were no intentions to make contest "anti-GPT".

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

trash contest

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

D seemed like such an interesting problem, I wish I had more time to solve it. B was super tricky for me and I'm surprised brute force worked on C

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

Thank you FairyWinx for delivering me to my coveted Grandmaster title in my two consecutive rounds.

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

who else ask for "? 1 n" instead of "? i j" such that x[i] == 1 && x[j] == n in div2 D/div1 A xD

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

I miss the days when problem C used to be DP..

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

Report a cheater: byteplay_studios solved A~F and published them on https://www.youtube.com/watch?v=8249xj-tyS0

Now I get a surprise because I saw too many newbies solved D, E, F very fast......

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

In B, why the seventh test case is 'No' ? You can make the bags 244 and 244.

pass a 2, pass two times 4, increase two times one of the 2's in the first bag and done. What i'm not seeing? im dumb?

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

Is this contest actually harder than usual or I am just very bad?

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

Problem D looks easy and inviting but I bet I am missing something.

  1. Sort the array
  2. query arr[0] and arr[n-1] this value can not be smaller than arr[n-1]-arr[0] in case of manhattan
  3. query arr[n-1] and arr[0] this value should be equal to previous value
  4. graph is a tree with 1 extra edge so maximum/minimum pair for 2 cannot be the same value so has to be manhattan

But this is WA so what am I missing?

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

Can anyone confirm why my hack on Div1A/Div2D is unsuccessful? Am I hallucinating? 305640270

My test is

2
4
1 2 3 2
2 1 2 3
A
4
1 2 3 2
2 1 2 3
B

Cannot distinguish A and B by querying (1, 3) and (3, 1); since the shortest paths are 1->2->3 and 3->2->1; both are lengths of 2, and manhattan distance is |1-3| + |2-2| = 2

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

Couldn't even solve B, have to go back to the drawing board now. How's B becoming a pain to me is beyond my understanding.

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

C is one of the worst problems ever, why would you put a bruteforce problem as div2C? Problem B seemed weird too, I think this is what they meant when they were talking about anti-GPT problems. On the other hand I really liked problem D, unfortunately I didn't get further than problem E because I spent too much time on B and C.

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

guessforces

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

This is a contest that you thought was inexplicable before knowing the solutions, but felt extremely foolish after knowing them.

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

Wtf Kevin114514? Explain yourself please.

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

My submission failed pretest 1, even though it passes on my local machine.

https://mirror.codeforces.com/contest/2067/submission/305693896

Any idea why this happens?

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

Problem setters took AI a little bit seriously :)

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

I've managed to properly think only about ABC.

  • A: a bit complex A, I had to write smth down on paper to solve it.
  • B: lol, I got stuck on B for 90 minutes, 3WAs and it seems that I solved it in the end.
  • C: requires guessing a "small observation", I don't really like such problems;

Personally, it was a very great experience to not back down after such a failure at B (huge bad luck + small skill issue), keeping emotioins at bay, and then figuring out C (good luck). Enduring such a variance in one contest is amazing if you don't give up.

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

B and C felt very tricky to me .. hoping to pass system test because I didn't prove them much rigorously and just went with intuition

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

Am I the only one who couldn't solve A even tho solved B-C?

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

I want to report a cheater... pasit used AI in many contests... Including this contest (Div2) (I think he uses AI in problem E and F. He used AI to generate the code, then change the variable name.)

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

I can not believe C is brute force. I spent the whole contest trying to come up with some crazy rules and they kept failing every time.

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

I have no idea how I passed B and C lol. I just guessed something, and it passed.

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

I want to know c problem is Once you've chosen the 9 form, can't you change it anymore?

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

I am sorry if this is dumb but how is the brute-force solution of problem C faster than the BFS solution. Cant people just make a very big testcase for which bruteforce solution reaches max time.

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

    Smart Brute force will not fail in any case !! People just need to figure out that minimum operations would never exceed 10 (I guess it should be 7, but doesn't have a formal proof) and even if they go for all 9999....999 till 1e18 that would take 18 iterations and for all the iterations at most (say 10) operations :- in total 180 operations for a single testcase !! 180 * 1e4 = 2e6 (won't fail even if you add log factor for digits) !!

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

    and in BFS solution which I did and got TLE; we are checking for all 18 numbers or whatever at each possible number which is not a good choice.. It's better to use a same number (999...999) and keep on performing operations until it contains 7 !!

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

Why is pretest 1 failing on CF but not on my laptop?!

It passes on my local machine. But the output shown on CF is totally different, causing pretest 1 to fail. Please let me know why this happens. Some other test might fail, but how is pretest 1 failing?!!

https://mirror.codeforces.com/contest/2067/submission/305693896

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

I tought like every time A was see and do and wasted minutes.....

NOW I FELL LIKE I AM EVERGREEN.......(hope less).

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

I choose to continue to believe Codeforces Round Div.2 after participating this exciting and interesting round. Thank all problemset designers & testers.

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

Nice contest. Enjoyed the problems despite being a complete brick. Dont get the point of D1 though (mine trivially solves D2)

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

    For me D1 was easier than A (and maybe B), and my solution to D2 approaches the problem from a different direction (for D1 I went from higher to lower, and for D2 from lower to higher and had to check a lot more things).

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

      i guess i got lucky that my approach generalizes easily then. About difficulties, it seems all of us have very different experiences (after talking with others). Personally I found C < D1 ~ D2 < A < B which is quite funny

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

Screencast

I always like your problems. Totally went insane on C, but that's obviously my issue, not the issue of the problem.

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

Can someone please explain why my code fails for problem B

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

Finally, specialist!

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

FairyWinx round = be ready for WA2

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

Nice problems, Div1B is too nice that I couldn't solve for hours.

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

NICE contest and Problem DIV2E just nice

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

...

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

We sincerely regret to inform you that we have discovered a bug in the interactor. A series of tests is currently underway to assess the full impact of this issue. Once we have the results, we will provide a detailed update. We deeply apologize for this incident and any inconvenience it may have caused.

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

    Also comment for dislike

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

    oh hell nah

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

    Mistakes do happen, and I respect your decision. Can you tell me a bit of information about the following things?:

    • How many people are affected?
    • Is getting WA on the example (while the code should get AC in the example regardless of failing full tests anyway) considered not affected?
    • What happens to the hacks submitted during the contest?
    • How many people with negative deltas are unrated, and caused rating inflation?
    • Does this delta consider initial offset, which for (# contest) < 6, a rating is displayed decremented some?

    Also, regarding weak data:

    Uphacks in 24 hours are happening over and over for the contest for Educational Codeforces and Div. 3 contest. In that case, some AC submissions that passed the pretest during the contest finally fails in system testing.

    The final decision seems somewhat "These submissions finally fail on system testing, and if your solution got WA on the system test, you can make your round unrated. (So only positive deltas are applied)." Why should it be the only case of rounds with uphack? I know good things are good, and asking this kind of question to the problem-setters who made small mistakes seems harsh or blunt in some sense, but I want to know the thoughts behind the decision; it's fine if the thoughts are "good things are good." Because as I wrote in the first place, mistakes do happen.

    • »
      »
      »
      14 месяцев назад, скрыть # ^ |
       
      Проголосовать: нравится 0 Проголосовать: не нравится
      • ~140 participants received an incorrect answer after correcting the interactor

      • There are were ~5 hacks in total, and apparently they were very unlucky.

      • ~100 maybe

      • don't understand question(

      After all, the mistake is on our side. The format of educational rounds and regular rounds is different.

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

        On detailed explanation of question: You can refer this blog post for detailed rating display. Suppose you are the second time participating codeforces Round and got 500 -> 800 (+300). The internal rating actually went down from 1400 -> 1350 (-50). What about this case?

        About the unlucky ones — why aren’t hacks rejudged just like submissions?

        Format of regular rounds — The point is that even in the regular rounds, you can get pretest passed and systest failed, and this is the current case.

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

LOL, I guess all the solutions have not been judged yet and the rating changes happened XD

An example

MikeMirzayanov is it a bug?

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

In problem B of div2 the test case 6 2 2 2 4 4 4 we can make the first bag as 2 4 4 and second bag as 2 4 4 but why the answer is not "YES"

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

rejudge 305643299 plz, I think it is not a mistake

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

will the ratings be recalculated after judging problem A again?

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

    I write in the upd3 decision

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

      Sorry, it's not explicitly mentioned and I'm not really sure I understand it correctly. Ratings will be recalculated after the rejudge of A, and then people who get WA on A and have negative delta will become unrated, right?

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

        Current standing correct. And if in the current standing you have negative delta and your get non-AC after rejudge for you round will be unrated

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

          So this is not relevant, correct?

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

          Finally, the situation is as follows:

          1. Rejudge your submission. If it now receives WA instead of AC, it is given the WA verdict.

          2. Now, with the updated contest scores, everyone's rating has been recalculated. If 1) affected you and your rating decreased, then the round will be unrated for you

          This feels wrong to me. Why does 1) hold place? Currently, it is treated as if the 'good interactor' was only available during system tests, but not on pretests. Though it is factually not true – the test that makes the wrong codes fail is actually in pretests.

          Also, if we still treat this whole situation as 'weak system tests', it still feels wrong: Ahmed_Salah7 tried to hack me during the contest using this test. The test should have successfully hacked my solution, but it didn't since the interactor was wrong.

          So if we treat the 'good interactor' to be the part of system test, then in reality, some users like Ahmed_Salah7 should've received their +100 hack points instead of -50, and some others should've been hacked during the contest and should've gotten the time to change their solution so that it handles the wrong case.

          I feel this is kinda unfair. I believe that we can't really do anything great in this situation, but maybe there's another solution: for example, if it affected only a handful of people, why don't we just leave it as it was? ;)

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

Fun fact: In the Div.2 contest yesterday, there are 19 cheaters in the top 50 contestants.

This is especially unfair to me because I happened to be the rk50.

According to this blog.

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

My solution worked with the old interactor, but does not work with the correct one and my rating has decreased.But why the round still rated for me?

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

Oh, the process of solving Div. 2 C for me was strange.

Firstly, I found the answer is small, and then I tried memoization search, but TLE.

Then I found $$$ans\le 7$$$. And I tried to use DFS with numbers $$$9\sim 9999999999$$$, but TLE again.

Then I shortened the DFS range to $$$9\sim 999999999$$$, getting AC.

This process wasted much time, which made me unable to think about the rest of the problems with a clear mind.

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

According to upd3 I should be unrated. Then why my rating decreased. :(

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

what's wrong in my div2 E/div1 B 305690629

please help

UPD : if(arr[i]==0){ zero--; if(zero!=0)continue; }

added this to get AC (skip all 0 other than first 0 )

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

Can someone try to hack my submission for Div1C/Div2F? Feels like it should overflow at 3 * dp[vec[i - 1]] % mod but it somehow passed all tests

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

I think this contest should be unrated. It is extremely unfair to make the participants bear the responsibility for the problem setter's mistake in writing the interactive system.

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

What about the "-50" points for unsuccessful hacks that should have been successful and should have earned +100 points in the contest (+150 points now)? Is this fair?

I also tried to clarify within the contest to check if there was an issue with the hacks in problem A, but no one seemed to care to look into it.

So, can you please FairyWinx either add +150 to my contest score (if that's possible) or make the contest unrated for me?

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

include

using namespace std;

void solve() { int x, y; cin >> x >> y;

if (x + 1 == y) 
    cout << "YES" << endl;
else if (y == 1 && (x % 9 == 0)) 
    cout << "YES" << endl;
else if (x - y == 8) 
    cout << "YES" << endl;
else 
    cout << "NO" << endl;

}

int main() { int t; cin >> t; while (t--) { solve(); } return 0; }

Your code here...

what is wrong in this? for Problem A)

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

Wxssim Orz

Been following him since his Blog.

Way to go man! Road to red starts <3

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

sevlll777 My Div. 1 A passed pretest during contest but failed on pretest after contest, so please unrated the round for me.

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

Thanks for taking away my first GM performance in div1. It took me 1 minute to repair my solution to A.

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

sto sto Wxssim orz orz

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

Really simple solution for problem B // this is the code ~~~~~ void solve() { int n;cin>>n; vi a(1001,0); FOR(n){ int x;cin>>x;a[x]++; } int extra=0; FOR(1001){ extra+=a[i]; //if extra spend if(extra==1){ cout<<"No\n";return; } else{ if(extra>1){ extra-=2; } } } if(extra&1)cout<<"No\n"; else cout<<"Yes\n"; } ~~~~~

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

Excuse me, but why the round isn't unrated for me yet?

As you can see in the contest, I submitted problem A pretty early (after about 14 min), and the reason I only submitted 1 time is I passed the pretest with the old interactor (and also I got an Accepted verdict after the contest too). But my code wasn't correct, so I had a Wrong Answer on pretest 2 verdict after the bug was fixed.

I thought the contest would be unrated for me after a few days, but it has been almost a week already, so I'm curious if the round will be unrated for me in the future or not, and what's the reason for the long delay

Thanks for reading my comment

(Sorry for my bad English skill, I'm not a native English speaker)

(Edit: fixed some grammatical mistakes)