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

Автор dario2994, 5 лет назад, По-английски

Hi!

On Jul/25/2021 17:35 (Moscow time) we will host Codeforces Global Round 15.

This is the third round of the 2021 series of Codeforces Global Rounds. The rounds are open and rated for everybody.

The prizes for this round are as follows:

  • 30 best participants get a t-shirt.
  • 20 t-shirts are randomly distributed among those with ranks between 31 and 500, inclusive.

The prizes for the 6-round series in 2021:

  • In each round top-100 participants get points according to the table.
  • The final result for each participant is equal to the sum of points he gets in the four rounds he placed the highest.
  • The best 20 participants over all series get sweatshirts and place certificates.

Thanks to XTX, which in 2021 supported the global rounds initiative!

Problems for this round are set by cip999 and me. Thanks a lot to the coordinator antontrygubO_o, to the testers gamegame, ajit, malachi_toney_goat, skydogli, McDic, rabaiBomkarBittalBang, nweeks, Marckess, HenriqueBrito, gratus907, bWayne, zscoder, TheOneYouWant, and to MikeMirzayanov for the Codeforces and Polygon platforms.

You will be given 9 problems and 2 hours 45 minutes to solve them.

The scoring distribution is 250-500-1000-1000-1500-1500-2500-2750-3750.

If you are tempted to make one more comment on the scoring distribution, read this.

Good luck and see you in the standings!

UPDATE 1: Thank you very much for participating, we hope you liked the problems (and sorry to top contestants for giving a not-so-fresh problem I).

Here you can find the editorial (with a bit of behind-the-scenes, some obscenely wrong preditions, and hints for all the problems).

UPDATE 2: Congratulations to the winners!

  1. tourist
  2. ksun48
  3. Benq
  4. Petr
  5. VivaciousAubergine
  6. TadijaSebez
  7. sunset
  8. Um_nik
  9. ko_osaga
  10. dreamoon_love_AA
  • Проголосовать: нравится
  • +823
  • Проголосовать: не нравится

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

Time to upsolve global round 11.

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

Can we say "All hail our emperor Anton" here? :)

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

I'm a simple man. I see anton, I take part.

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

So we will have 3hrs or 2:30? Cuz on the contest table it says that it lasts 2:30hrs. Thx;)

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

As a tester who has not been yet added to the contest announcement, I can say that solving the problems will make you feel warm and fuzzy inside. I am very sad that I cannot participate in this contest.

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

My first global round, exited to see the problems and maybe cry afterwards :)

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

I have 2 questions:

  1. Why is there a sudden drop of average difficulty(upto problem E/F) in recent combined rounds? There are 6 problems for div.3 participants (with difficulty <1600), which used to be 3/4.

  2. To div. 1 participants (2100+), how do you feel facing a 250 rated problem in a contest, that is rated for you?

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

    Points and difficulties have no correlation whatsoever. Difficulty is determined after the contest ends, while point values are there to give us a rough approximation of relative level of these problems. E. g. If two problems both weigh X points that means they are similar in difficulty, but that difficulty could be anything from 800 to 3500 theoretically.

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

I am also wondering why the starting score drops from 500 to 250 in joint rounds. I kind of understand that this will make the score’s meaning more similar to div. 1. But this actually hurts the feeling of div. 2’s participants, which is a much bigger group. So I doubt if the other direction is better.

I remember that 15 years ago, most OI problems had exactly 10 test data, and each data was worth 10 points, and in total each problem had exactly 100 points. Then people ask Rujia Liu, one of the most famous problem setters in China at that time: “why we have 100 points for each problem instead of 10, we can give each test data 1 point, it’s the same, right?” And Rujia said: “because people are more excited to see large numbers, and giving 100 points makes people feel more comfortable and gives people more sense of accomplishment”.

I think it's the same here, right? Doubling the points of all problems (and possibly making some adjustment), you won’t change/lose anything. But people will become more excited. When solving a 3000 point problem in the contests, regardless of its difficulty, the feeling is different than solving a 1500 point problem.

I definitely do not mean that we should arbitrarily increase the points of problems. But always starting from 500 seems to be reasonable.

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

    Hacks and unsuccessful submissions are still worth the same number of points though. And if you double every one of them, we will have a 5000, 5500 and 7500 problem.

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

    I think that having 300 points for the first problem would feel a bit better than 250. It's just a more round number. Also it's more than half of 500, rather than exactly half. Not that it really matters, but this might make people feel more comfortable. Especially complete beginners, for whom the first problem might be the only solved problem during the whole contest.

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

      I think the number 250 is more "round" than 300.

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

        256 is even rounder for contestants eyes

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

        Could you elaborate on this please? 300 is rounded up to the nearest hundred. There's also a well known marketing trick to set prices to something like 299 instead of 300, because this is somehow perceived as noticeably cheaper by humans (the first digit is smaller, yay!).

        And once again. Looking from a total beginner perspective, a very late solver of only the first problem will only get 75 points because of decay and possible WA penalties. The leaders of the contest may get around 16k points, based on what we could see in the scoreboard of the previous contest with a similar 250-for-the-first-problem points distribution. That's more than 200 times difference. With the older 500 max points reward for the first problem, the beginners would only have around ~100 times worse score than the leaders and this smaller difference may make them feel a bit happier (or less devastated). But of course, none of this really helps them to actually get a better position in the scoreboard, it's all just an illusion.

        My comments had been largely inspired by the CLDP's quotation of Rujia Liu about the magic of 100 points. I think that I already said enough and have no intention to push this further.

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

    Personally, I have never paid attention to the raw amount of points I got in a contest. I was always focused on my ranking. Maybe I'm in the minority though.

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

    I don't see how using 250 hurts the feelings of div2 participants. Will they be happier if we multiple everything by 10?

    There's currently an upper limit of 6000 points per problem in the Codeforces system. You would need almost twice that if you want to keep reasonable geometric progression — which is needed to allow solving problems in a different order, and not to penalize much for failing a medium problem (but solving a hard one instead and getting less points).

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

      I don't see how using 250 hurts the feelings of div2 participants.

      As a part of optimization efforts in some company, CEO and the other higher-ups mostly kept their salaries intact, but burger-flippers got their salaries halved. We surely didn't hurt the burger-flippers' feelings, did we? Don't worry, this is just a joke.

      Will they be happier if we multiple everything by 10?

      What kind of problem have you actually tried to fix when changing the problem A score from 500 to 250 in the first place? Now this is a serious question.

      We got a discrepancy between 500 points in Div2 contests and 250 points in Div1+2 contests for 800-difficulty problems. If any inexperienced grey participant watched their contest score to roughly estimate their individual progress (without comparing themselves to the others), then this change affected them. But only grey participants can provide useful feedback here. Most of them are shy and afraid of downvotes.

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

        What kind of problem have you actually tried to fix when changing the problem A score from 500 to 250 in the first place?

        I explained it in the previous comment: we needed to choose a reasonable ratio between scores of different problems.

        If any inexperienced grey participant watched their contest score to roughly estimate their individual progress (without comparing themselves to the others) [...]

        Then I hope that they read this: total points or the number of solved problems doesn't matter. Maybe you got one more problem because it was easy. Only your rank says how well you performed.

        I don't think it's smart to mess up problem points distribution for everybody just because some inexperienced participants focus on wrong statistics.

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

    Very good point.

    I think we should also set everyone's rating to 1500. It might hurt their feelings when their rating is stuck at 1000.

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

    I think I've been advocating starting from 250 for a long time already. It allows for better balancing of harder problems. Even with 250pts the ratio pts/needed time is still the lowest for the easiest problems

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

As a tester, I recommend you to read all the problems. (just check the scoring distribution).

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

As a DIV 3 user , should I participate in this round or not because I think this round will be of div1 level and I will not able to solve such hard questions.

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

As a tester, I must say the quality of problems are really good, all the best and have fun :)

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

Hope I will become expert in this round

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

Why do I feel like authors are meme-ing around after looking at the score distribution ?

Edit : I dont have any problem with downvotes, but I would very much like to know the reason you people are doing so. I just said what I observed, atleast I have never seen a combined round F to be only worth 1500 points.

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

Just a simple question:

If after system testing, my solution still shows 'in queue' status, so will it corrected itself. Or we have to report it somewhere. Btw, when I click on more details about submission, it shows all test cases to be OK.

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

just curious about the 250 points problem, why points didn't decrease after the first minute here ?

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

    The points decreased per minute is proportional to its starting score. A 250 problem ends at 150? I believe (either 3/5 or 2/5 of original), so each minute it's decreasing by 100 / (total_contest_time), which was 150 for that contest. This value is less than 1, so sometimes it'll round up I guess.

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

I'm not a tester but I like past problems created by dario2994.

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

will this round be rated.

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

So the reason for this scoring distribution is the same as it was in Global Round 11 ??

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

Last time i saw a similar scoring distribution, C and D were 2000R and E was 2500R.

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

250 has become fashionable, we expect 150.

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

As a tester, I enjoyed this round's problems. GLHF!

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

It's equally sad and satisfying to read this "20 t-shirts are randomly distributed among those with ranks between 31 and 500, inclusive."

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

As a tester, I would recommend you try to solve the problems in the contest.

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

It seems that experts are going to solve the first six problems (A-F)

»
5 лет назад, скрыть # |
 
Проголосовать: нравится +71 Проголосовать: не нравится
lighthearted meme
»
5 лет назад, скрыть # |
Rev. 2  
Проголосовать: нравится -145 Проголосовать: не нравится

India won a medal in tokyo olympics . congrats!

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

How many problems a newbie can expect to solve?

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

Good luck, guys!

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

I bet today the new record will be written by tourist... 3800+ is coming guys...

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

Hardforces

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

D.E.A.D

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

Is this round meant for Div 0 participants?

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

single problem solvers make some noise!!

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

people like me Less than 1400 rating should exit the codeforces! its not for us. Try leetcode instead zero wasted of time and actually will learn something helpful Uselessforces!

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

It seems someone put the wrong title on this contest, the title should have been "Codeforces Round #735 (Div.0)"

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

Difficulty difference between A and B > length of the wall of china

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

2021-03-18-2

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

Is this the sound of shattered dreams?

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

C is too hard to me:(

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

there should be atleast 2 easy problem as it is a global round. maybe they can make b little bit easy :(

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

Instead of running for gold, pupils are running for newbie and specialists are running for pupil. :)

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

How on earth Tourist did first 4 questions in 8 minutes!!! I need that much time just to read those questions :( GOD LEVEL

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

As the round is rated for all, they should have made two easy problems.

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

Is the 3800-mark going to be breached?

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

Problems are good but I am trash :(

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

I decided to take this contest with 4 hours of sleep since I wanted to hit GM today :P seems like it didn't backfire. Thank you for the nice problems, E especially was very cool. Hopefully I don't FST now and it's time to have an irrational fear of participating in contests again D:

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

There is some problem in the testing of problem E.

For my solution: https://mirror.codeforces.com/contest/1552/submission/123763122

It shows colour don't match for 3rd interval in test case 3 despite colour are the same. Please look at this and accept my solution if it is correct.

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

To any gray writing that this should be called Div. 0: you don't even know what solving the first problem in Div. 1 means. Who the fuck are you to judge the difficulty besides saying "this is too hard for Div. 2"?

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

man how the hell the 5th test case in D is YES there's no 3 numbers that can produce one of them I tried everything but I suck

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

Problem 407B - Long Path is very similar to problem F, especially main observation.

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

Why did none of the testers question this difficulty gradient?

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

Problem F saved me from going back to cyan :)

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

Is problem D just try 10! combinations? I am kinda afraid of system tests.

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

Doing typing practice for 2 hours and 45 minutes would have helped my coding career more than giving this round!

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

I got my worst rank :(

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

Somehow I found F and D easier than B. Also RIP rating.

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

The most pretests I have seen

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

Can someone explain the approach to B?

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

    Sort then check if a[0] is the winner.

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

    The key observation is, that if a>b and b>c, then a>c. So sort and check if first beats all.

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

    Assume the curr_winner is 0th participant. Now, iterate through all the remaining participants. If, the winner is superior to the ith participant, we are fine, otherwise, change winner as ith participant ( because i defeats curr_winner ) and continue checking till the end.

    Once done, we have a candidate for winner. We just need to iterate again through all remaining participants and ensure that he defeats everyone ( and there is not a cycle in which case return -1 )

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

    start comparing the first athlete with other athletes if he is superior then all of those who got compared to him are definitely not and if he's not superior to the current athlete being compared then this current athlete could be the one so start comparing from this athlete with the next athletes if you compare him with the previous athletes it will TLE so keep doing that until you have one possible athlete now compare him to all the others if he is superior then answer is that athlete if not there's no answer

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

    Only one overall winner is possible. If an athlete is not superior to any other athlete, he cannot be the winner. Suppose prev[i] is the best choice for first i athletes, then prev[i+1] will be i+1 if i+1 is superior to prev[i] or prev[i+1]=prev[i] if prev[i] is superior to i+1. prev[1]=1. Now you just need to check whether prev[n] is superior to all.

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

    Compare No.(i) person with No.(i+1) person.(1<=i<i+1<=n)

    If No.(i) person is lose,it illustrates that No.(i) person is not the champion (since he loses at least 1 round.)and No.(i+1) person will continue to compare with next person and vise versa.

    After n-1 round comparation,you can get a person who is the candidate champion and he should compare with other persons to judge whether he is the real champion.

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

    Notice that for any two athletes a and b, either a is superior or b is superior. Since our goal is to have an athlete that is superior to all others, every time we compare any two athletes, we can remove the 'not superior' athlete from our list of candidates.

    So we can perform n-1 comparisons and have exactly 1 candidate left. Now, we can check if this candidate is superior to all others. If not, then there are no more candidates so we print -1. Otherwise, this candidate is our answer.

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

    Apply two pointer's approach, take initially l as 0 and r as n-1 now compare between them if l is winner,it means r is eliminated hence decrement r. and vice-versa, finally you will get the ans as l ,check whether l is the real winner or not

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

    My approach: Iterate through all the players and in each iteration compare two-player and eliminate one player, the one with fewer wins. first player 1 vs 2, second, winner of (1 vs 2) vs 3, and so on.

    So after a complete iteration, only one player will remain. Now just need to check if he is better than all others or not. So one more iteration through all other players and Check if the candidate won 3 or more previous games with all others or not.

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

This contest made me realise again that you know nothing and you are stil a beginner who is meant to struggle .

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

Getting WA on pretest 127 is something new.

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

According to the standings (i.e. tourist), I believed that Problem I had appeared somewhere. Any links?

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

Eagerly waiting to ask this..... How to solve B?

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

    Simulate any type of tournament (for example, a well-known tournament tree) and then check that the winner of the tournament (if such exists) is actually the answer (make an additional comparison of him with all of the other participants).

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

    Let's define a directed graph over the players, an edge exists from player $$$u$$$ to player $$$v$$$ if player $$$u$$$ defeats player $$$v$$$. It seems like the problem is similar to finding whether or not the directed graph has a universal sink (in-degree = n — 1, out-degree = 0). To find it, let's assume the first node is the sink, and for each next node, check whether it defeats the current sink. If it does, set it as the new sink, otherwise continue. Finally, there are two cases. Either we have found the sink, or there doesn't exist any. We can check this by testing whether it defeats every other player or not.

    Here is the classic problem: Problem 22.1-6

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

    start out with a set of $$$n$$$ possible winners and at each step compare two possible winners, and discard on of them as a possible winner. At the end check if the only candidate is in fact a winner.

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

    I probably had the dumbest solution to B in the contest.

    I looped subsets of 3 contests, then sorted by how well the contestants did in the first, and looped in this sorted order, maintaining in a set pairs of how contestants seen so far did in the second and third contest of the subset.

    This way, we can check in $$$\mathcal{O}(\log n)$$$ time if the person lost to someone in every contest in the submask. If they did, they cannot be the gold medalist. If someone could still be the gold medalist after handling all submasks, they are the gold medalist.

    Code: 123735962

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

      No it's me :) The graph is a tournament, and hamilton path exists. I computed the hamilton path in $$$O(n \log n)$$$ and checked if the start of the path satisfies the condition. Most of the code was, again, copypasted from Nine Judges problem by tourist. (I took 9 minutes to solve the problem, but most of the time was realizing that I made a mistake copy-pasting samples)

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

BEST CONTEST EVER FOR ME GUYS. I GOT 200 RATING CHANGE FOR THE FIRST TIME

Do not click this.
»
5 лет назад, скрыть # |
 
Проголосовать: нравится +8 Проголосовать: не нравится

2.45 hours successfully wasted.T_T

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

Why O(n^2) was giving TLE in problem B :(

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

Please release the editorial ASAP! I'm trying to figure out B and C

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

Is there a more general approach to D? My proof relies on a graph with n edges on n vertices having a cycle, but I was also thinking of viewing the problem as a linear system on $$$n-1$$$ variables and $$$n$$$ equations where you select some summands of the $$$n-1$$$ values $$$c_i$$$ where $$$c_i = b_i-b_{1}$$$ that you want to equal each $$$a_i$$$, and for each system you want to check if it is solvable.

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

small-N forces :(

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

Really liked problem B.

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

I don't know how to solve E... so disappointed with myself

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

Am I the only one who found B unusually hard? :)

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

So I sat down to give Global Codeforces contest this night, Reached Specialist last round my confidence was at its height.

Solved A like it was a piece of cake, Only If I knew it was a bait for me to take.

Spent more than an hour thinking how to solve B, Couldn't find a solution I cried dario2994 have pity.

Then I committed a mistake of looking at the standings, Tourist solved all problems with 1 hour remaining.

Accepting my fate and leaving the contest like a bad memory of past, Waiting for Secondthread to show us the way through his screencast.

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

meme

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

Although 10k people passed problem B, I think it is the most difficult one(which I spent most of time thinking in different aspects QAQ).

And the difficulty between C, D or E, F seems too werid since I saw lots of people passed the later one.

Howerver, the problems are great(easy to understand and need some thinking). Nice job!

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

    I think you looked wrongly. Only 4.6k people solved B during the contest. Which is a bit on the low judging the other globals (8k on global round 14, 6k on global round 13, 12k on good bye 2020). Though, as someone who had 2 hours for C and D and didn't figure out either of them I'm quite confused what skill I am missing.

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

B is probably the most difficult problem with only 500 points to score .For some ,it was a decent contest, and for others it was a nightmare .

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

Is point depreciation at the same rate as other contests despite lower point values? It certainly felt like the point values dropped rapidly during the contest.

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

What is the solution for E?

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

humph I got MLE on problem B after system tests

o_O

this is a first

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

How to solve C?

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

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

How to solve D ?

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

Did anybody solve B using the randomization optimization mentioned in the hint in the editorial?

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

oops, so strict time for main tests of problem D. Correct algorithm got TLE on test 21 when code JAVA ???

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

Didn't come up with B solution, so implemented $$$O(n ^ 2)$$$. Adding shuffle before it makes solution run in 93ms 123733948

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

Problem B: I stored the 5 marathons information of each athlete in an array then sorted in descending order based on their superiority. after that checked if the array[0] is superior to all other. It got TLE in system test :'( Can someone please explain what went wrong?

my submission

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

I unfortunately wasn't able to take part in the contest officially, but I looked at the problemset and the problems I read were consistently inspiring. Congratulations, and thank you, for setting such a fantastic round!

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

Great Round, Thanks!

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

For problem D, I used brute force approach to check if I can write an element of the given array as (sum of some elements) — (sum of some other elements). For that I made all the possible strings of length n-1 having '0', '1', '2'. If the character is '0', I am not using it, else if it's '1' I'm adding it, otherwise I'm subtracting it. If the final value matches the array element, then I'm printing "YES".

So the time complexity should be O(T*n*(3^(n-1))), because I'm making all the strings of length (n-1) for every element of array. And T*n*(3^(n-1))=3936600, which is approximately 4e6. I don't know why my code failed on system testing and gave tle on test 21.

Please help me, finding what I'm missing. Here is my code:

https://mirror.codeforces.com/contest/1552/submission/123748110

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

If you are already frustrated from the contest that you tried so hard but still were not able to solve. Then check this and get more frustrate :'(

PS: Report this channel (I know it won't make much difference but what else we can do)

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

when are the t-shirts winners selected? will the list be publicly available?

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

Problem I have made contest a bit worse. Many deserving Top-10 aren't in Top-10 due to that. It is a lot unfortunate that setters and testers didn't know problem before hand.

Global Rounds are supposed to be very special. Unfortunately, it turned out to be very bad for me. I'm not sure if it should be considered Unrated. (May be this are just my emotions speaking)

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

    The funny thing is that dario participated on the contest that this problem was on, so maybe he even remembered it subconciously when making up the problem (or maybe he didn't upsolve the problem and because of that he didn't know that it existed)

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

I am feeling terribly dumb after this round :)

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

Congratulations to tourist for getting such a high rating at 3821 and to be the first reaching 3800!!!!!

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

2 problem is similar to find the celebrity problem which can be done using recursion https://www.geeksforgeeks.org/the-celebrity-problem/

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

MikeMirzayanov
a new color and naming should appear
"Nutella Instinct" for example,
DBZ fans gonna like this

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

I wonder when would I become good enough to solve problem B, it's been 2 times in a row that I've not been able to solve problem B.

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

I wrote (i<<j) instead of (1<<j) and it passed pretests(failed system test). What a blunder.

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

still 2800+ pog (but probably not after removing 2000 cheaters)

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

Too low rating allocated to the first-ever contest!!

I solved 2 problems in this contest and my Rank was around 4.8k, but the rating allowed to me was 490 which is Highly Demotivating. Where I can see profiles with ratings starting from 1400 even when they get some 9-10k ranking this is something which shouldn't, It will take a long time for me now to even reach specialist when half of my college does.

If it's the case then everyone's rating has to start from 0 then and also by default they show maxrating which is even more misleading if ones rating is starting from 1400 and ones 0

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

i made submission for sequence permutation. My solution was accepted and also it is matching with tutorial implementation but out of 250 i got only 162.Can anyone please tell where my score was deducted.

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

Hard, yet interesting!

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

123760576 (Problem D) Can somebody pls help me out in this why i got wrong on test 15 , i searched the ranklist, and i didn't find anyone with the same test getting wrong .

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

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

I liked the contest. Hope to find more contest by same authors

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

Nyaan Can you Explain your Problem D solution?

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

Seems like sansen is hacking everyone's G and most of them are failing with TLE, does that mean the system tests were weak? Sorry if I'm getting this wrong

reference:
https://mirror.codeforces.com/contest/1552/hacks?verdictName=CHALLENGE_SUCCESSFUL&chosenProblemIndex=G
https://i.ibb.co/YPDkbV9/hacks-1.png

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

Does anyone know who should I contact to if i had issue of receiving T-shirt prize in previous contest?

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

Hack it plz! 124202906

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

where is list of T-shirt winners ?

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

Congratulations to tshirts winners! In a few weeks you will be contacted via private messages with instructions to receive your prize.

As usual, we used the following two scripts for generating random winners, seed is the score of the winner.

get_tshirts.py
randgen.cpp
List place Contest Rank Name
1 1552 1 tourist
2 1552 2 ksun48
3 1552 3 Benq
4 1552 4 Petr
5 1552 5 VivaciousAubergine
6 1552 6 TadijaSebez
7 1552 7 sunset
8 1552 8 Um_nik
9 1552 9 ko_osaga
10 1552 10 dreamoon_love_AA
11 1552 11 244mhq
12 1552 12 KostasKostil
13 1552 13 lumibons
14 1552 14 hos.lyric
15 1552 15 Egor
16 1552 16 kotamanegi
17 1552 17 Temotoloraia
18 1552 18 aid
19 1552 19 TLEwpdus
20 1552 20 renascencepjw0510
21 1552 21 gisp_zjz
22 1552 22 LayCurse
23 1552 23 duality
24 1552 24 scott_wu
25 1552 25 DmitryGrigorev
26 1552 26 Subconscious
27 1552 27 nuip
28 1552 28 tatyam
29 1552 29 jiangly_fan
30 1552 30 353cerega
45 1552 45 kotatsugame
62 1552 62 Maksim1744
66 1552 66 tute7627
92 1552 91 sugarrr
120 1552 120 dlalswp25
134 1552 134 torisasami
136 1552 136 MooNight
157 1552 156 Onjo
203 1552 203 TrivialMan
220 1552 220 chaeyihwan
231 1552 231 yao11617
274 1552 274 new_acc_
278 1552 278 Utkarsh.25dec
304 1552 304 Serval
317 1552 317 titia
398 1552 398 Markadiusz
456 1552 456 jiedai
473 1552 473 GregFocker
484 1552 484 vlatko
500 1552 500 Sad_reacts_only