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

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

Unfortunately, due to Internet provider network issues, we have to postpone the round. The current plan, that the round is postponed by 24 hours, will start on May/05/2021 17:35 (Moscow time).

Hello, Codeforces!

<almost-copy-pasted-part>

Hello! Codeforces Round #719 (Div. 3) will start at May/05/2021 17:35 (Moscow time). You will be offered 7 problems with expected difficulties to compose an interesting competition for participants with ratings up to 1600. However, all of you who wish to take part and have a rating 1600 or higher, can register for the round unofficially. The round will be hosted by rules of educational rounds (extended ICPC). Thus, during the round, solutions will be judged on preliminary tests, and after the round, it will be a 12-hour phase of open hacks. I tried to make strong tests — just like you will be upset if many solutions fail after the contest is over.

You will be given 7 problems and 2 hours to solve them.

Note that the penalty for the wrong submission in this round (and the following Div. 3 rounds) is 10 minutes.

Remember that only the trusted participants of the third division will be included in the official standings table. As it is written by link, this is a compulsory measure for combating unsporting behavior. To qualify as trusted participants of the third division, you must:

  • take part in at least two rated rounds (and solve at least one problem in each of them),
  • do not have a point of 1900 or higher in the rating.

Regardless of whether you are a trusted participant of the third division or not, if your rating is less than 1600, then the round will be rated for you.

The problems for this round were invented by MikeMirzayanov, Supermagzzz, Stepavly and Aris.

Thanks to Gassa, BledDest, Programmer, bugdone, ruban, RedAnt, songsinger and Gornak40 for help with testing the round.

Thanks to MikeMirzayanov for platforms and coordination of our work. Good luck!

</almost-copy-pasted-part>

Editorial is ready!

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

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

Most awaited round of the month.

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

My first rated contest pretty excited :)

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

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

Sorry but I don't really understand the trusted rules :( Does that mean I can't use clones?

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

Div. 4 when?

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

Really excited for my second contest , hoping i would cross 1000 this time. Any tips are welcomed. TIA

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

how to become red coder in 1 month???? any tips and tricks???

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

Hmmm, why aren't we seeing vovuh as a problem setter in recent div.3 contests?

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

Hope to see a nice problemset. Best of luck,All.

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

Hope to see a cool problemset. Best of luck, All.

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

One more new author of div 3 *o*
Hope I become pupil again

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

I still remember the time when vovuh was a coordinator of Div3, it has been so long.

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

please schedule the contest 1 hr earlier as it perfectly ends before dinner and good discussion time before going to sleep

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

...

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

I can leave a message again Yea~

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

can i say that div 3 is the best training contest for who is less than 1600 rating and will be better if problem standard

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

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

It seems that the queue is really long......Can this round hold on time?

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

Verdict: In queue

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

There is a problem with submission, it shows the "In Queue" verdict. Wish this will not happen in today's contest.

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

Is anyone else also getting some 504 Gateway Time-out error or is it my network problem?

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

Anyone else getting Bad Gateway errors lately?

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

Notice unusual change in schedule.. :(

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

Why was the contest postponed for a day?

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

Delayforces!!! :(

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

It's been an hour since I submitted a problem. Still in queue :(

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

um so how many registrations will this round have now?

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

The least they can do is to reset the participants so that there won't be another 30k contest and it becomes unrated, seems like no one cares about div.3 contests.

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

It's my first time to see a 24-hour delay here.

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

Nooo :((

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

Peeporiot ;-;

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

Better delay than unrated :(

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

So,30k+ participants this time?

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

round is postponed, I was waiting and refreshing every 1 minute to see how much time left. sad life.

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

Since the contest was postponed, can you please open the registration again?

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

Div 3 — Let's rock today.

(postponed :{ )-

Let's practice today :}

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

«К сожалению» — это вводное слово, и оно обособляется запятыми.

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

due to Internet × wait until the registered participants over 30k √

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

I finished my talk over phone with bae just 5 mins before the contest only to know this... (Cry Emoji)

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

All this time.. i was refreshing my browser..thinking issue on my side.

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

The round has been postponed- NO WORRIES

IPL has been postponed- CRY, CRY, CRY :(

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

postponed for 24 hours! I will never participate in a CF contest if this contest has been postponed again!

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

Stepavly please enable the register button so that the people who have not registered and are the official trusted participants can register !! ** Thanks in advance ** !!

UPD : THANKS !! I have successfully registered now !

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

when I finish my dinner fast for the contest...

Unfortunately, due to Internet provider network issues, we have to postpone the round

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

.
Pics-Art-05-04-08-18-05

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

Verdict: No Color! :(

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

Cf: Hmm you're mad because we delay the round for 5 min sometimes WEll How About 24 hours !! Muahaha

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

Really excited for the contest , hoping I would cross 1100 this time. Any tips are welcomed. TIA

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

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

Good luck to everyone!

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

gM0ZCR.png when you heard the round was delayed

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

This will be my second contest. I participated in last global round and I still don't know how the score works perfectly. In that contest I think they gave me less points for a problem with previous wrong submissions. Here when it says there's a 10 minutes penalty for wrong submission, is it saying that I will lose 10 minutes from the total 2 hours of the contest for every wrong answer?

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

i have a feeling that site may crash !!!!!

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

Why on equal rank in div3 contest gives less positive delta then div2 on same rank. Suppose x rank in div3 will give less positive delta than x rank in div2 ?

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

Hope the contests won't get unrated because of long queue, we are reaching close to 30k , at this rate we might be reaching around 32k easily

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

Got It.

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

It's starting finally: the most awaited contest since yesterday :)

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

Cheers Codeforces for 30K registrations once again!!!

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

my code is running from more than 10 min, i also tried to cout<<"HELLO"; but it also taking more than 10 min ; MY internet connectivity is good. i also tried to logout and log in

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

Is there any queue issue :( , my code is in the queue for last 20 minutes

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

It seems that my submission for G is executed twice, is this right...?

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

you guys should give atleast some weight to out-of-contest submissions. It's not like everyone participates in div3 :|

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

fucking queue

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

;

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

THE QUEUE IS TOOOOOOO LONG I CANT STAND IT PLEASE MAKE IT UNRATED

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

After waiting for 4-5 minutes.

WA on test 1

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

Queueforces :(

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

No way this can be rated!

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

Interactive is not good when long queue time is there.

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

This Contest should have been extended by 15-20 min to compensate for long queue

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

    what if some people have work after it ? Extending round is always a bad idea. They can keep it for 15-20 min extra but it should be announced before the contest. for majority of people queue time didn't matter much and it was fair for everyone since everything was same for everyone.

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

      Actually, there have been situations in which the contest was extended due to long queue. I think it wasn't a really smart choice to put >100 cases in G considering that both F1 and F2 were interactive, though.

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

      I agree that people may have other commitments after the contest but extension has been done many times during some the previous Div 3 Rounds and extension gives relief in some sense . if you have another work just go for it , there will always be some contest in a week after it so you can make a comeback in it to recover your rating loss

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

I am eagerly waiting to see test case 5 of problem "D".

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

C,D<A<<B<<<E,F1<<<<<F2<<<<<<<<<<<G I know the number of solves indicate otherwise (difficulty distribution linear from A to G) But just look at the number of wrong answers and solution size.

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

Can someone confirm if problem G was dijkstra ? I just submitted it and excited if my approach is correct.

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

There should've been extra 10-15 minutes for such a long queue!

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

Google-forces

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

So, I waited 10 minutes to get a TLE on test 114 of G after the contest had ended already . LOL

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

SlowForces

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

Waiting for this comment. In queue

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

WHAT A BAD ROUND!I must wait 8 minutes for the result of my submission.

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

I remember getting up for Kickstart round H last year, quite early in the morning, I think it was worth getting up. But not on that that day, its today, cuz problem E is literally this lol. Also Thanks to people like Galen, Ecnerwala, Neal, who posted solution to (problem E) that round that day. High rated people do have time machine xD.

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

F2 was an absolute bomb. It's been a while that I see such a beautiful problem.

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

Bad internet situation.

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

I forgot to delete a part of my code in F1 that I used to verify my solution, but since I was still in the queue I did not realize it, I feel very bad :(

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

Can anyone explain problem F2 and G?

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

    F2: You can query each prefix of the array with step of 8 (that is, 1, 9, 17, ...) and store the number of zeros in it. Now to answer the query, you must first binary-search these prefixes (takes 0 queries), and then search among the remaining 8 elements using exactly 3 queries. Now what happens when we change some 0 to 1? Some suffix of our array with prefixes has to be decreased by 1. To perform these operations quickly, you could use a segment tree. BIT and sqrt decomposition should also work.

    The total number of queries is t*3+n/8 ~ 5,5*10^4 < 6*10^4

    IDK if this solution is the same as the author's one, but this one seems really beautiful to me.

    G: Notice that you either don't use the portals at all or use them exactly once (since we can omit the intermediate steps). The variant without portals is solved using trivial BFS. About the case with portals: you first go from (1, 1) to a portal, then pay its cost, then the cost of the second portal, and then you go from portal 2 to the end. You can compute these sum of the portal's cost and the cost to go to this portal from (1, 1) and select the one which minimizes this quantity as the first one. The case with the second portal is symmetric.

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

    For G using k+1 portals is never more optimal than using k portals. Hence we shall use either 0 or 1 portal. let cost[i][j] = minimum cost to move from [i,j] to n,m using only adjacent moves. Now for each portal do cost[i][j] += matrix[i][j] and find the minimum cost to travel from a portal to n,m. Let this value be equal to min_cost.Now the answer to the problem would be minimum cost to reach from a portal [i,j] to [1,1] + min_cost + matrix[i][j]. Which is equivalent to moving from [1,1] -> p1 -> p2 -> [n,m]. Dont forget the case when you use 0 portals.

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

Please make this round unrated. Couldn't solve the problems on time due to the waiting thing.

It took 10 mins to get the final verdict to one submission.

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

Regardless of whether you are a trusted participant of the third division or not, if your rating is less than 1600 or greater than 1600 or even equal, then the round will be un-rated for you.

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

Too much queue waiting time. Please fix this

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

Someone confirm I'm not blind, this was the sample shown for problem F2: Image please load

So this seems to imply that you have to read in a 0 after each test case, which is a thing that some interactive problems make you do. But not this problem. When I tried to read in 0, I got runtime error on test 1, and removing that worked. So did the samples lie to me?

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

There should've been extra 10-15 minutes for such a long queue!

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

Site was down for the last few minutes.

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

Started the contest 15 minutes late, but still managed to get till F1 in 1 hr 30 minutes. My best performance so far, thanks for the round and hope it remains rated.

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

Anybody else think that solutions should be regraded for problem G with an easier time constraint? Maybe it's just java idk :P

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

Can someone tell me whats wrong in this code 115328097

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

If long queue would not have been there then I could have got F1 and F2 right in time.

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

Did someone got G?? I got WA on test-26

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

At least there should have been a 10/15mins extension of contest duration was needed due to the long queue problem. I just needed to change the answer from int to long long to get problem E AC. :(

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

I'm so stupid!!! I used INT_MAX as infinity value in problem E :(

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

too many copy-paste problem :(

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

Did anyone else get WA on test case 37 for G? My submission if anyone wants to check it out.

My approach:

Do Dijkstra's algorithm, and find the shortest path to enter a portal (call it $$$P$$$). Then, run a multi-source Dijkstra's, with each source being a portal, and the starting distance to the portal as $$$P$$$.

In my code, the priority_queue stores <-distance, pii{i, j}>, and the distance is stored as negative, because Dijkstra's uses a min heap, while the default priority_queue<> uses a max heap.

The dijkstra lambda function is just so that I don't need to copy-paste the code.

The portal variable stores the shortest distance to a portal.

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

So far the Weakest pretest for problem D.. disappointed :|

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

Weak test cases for problem D. Disappointed :|

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

Nice problems, but really bad problem statement in F, especially F2, description is hardly understandable, and description of input simply wrong.

I am shown as +100, but would rather see it if it were unrated.

Also the queue was slow.

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

Can someone please help, why is this giving TLE in test 3 ? 115323338 , 1520F2 - Guess the K-th Zero (Hard version) Thanks ! UPD: I got it, since I used RUPQ Fenwick tree I forgot to update(r+1,-v) when I update(r,v)

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

Not only the blog was almost-copy-pasted-part. But also the problems. Idk what did the testers do really test. And did not report for such well known problems.

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

I've just started getting the knack of codeforces. And I was able to solve A, B, C, D in this contest. But I was slow to think of the approaches and hence my rank is around 6k. Hopefully, I will get better at thinking fast about the solutions. If any tips that may help, please do tell me cause that would be great.

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

how to solve F1?

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

What is the intended solution for F2???

It seems that the author's solution is just do binary search every time and avoid query one segment twice.

But there's another very beautiful solution that divides $$$1$$$ to $$$n$$$ into blocks of $$$8$$$ and use data structures to maintain.

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

Can someone help me figure out whats wrong with my code for F1: https://mirror.codeforces.com/contest/1520/submission/115338765

It gives a weird error for test case 2

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

.

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

Interactive problem in cf == Binary Search

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

HackForces (+51 successful hacks)

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

Can anyone share a python solution that can pass problem G? All python solution are either failed or being hacked.

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

Is it only me or anyone else who found E way much tougher than number of submissions of it during contest?

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

123 pretests for G, still got hacked :(

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

When will the ratings be updated?

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

How does hacked works here? Can anybody explain. Thanks.

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

    The standard tests are not always perfect and may miss some problems in the submitted solutions. Your solution for problem D has a bug, because arr[i]-i may be negative and so brr[arr[i]-i]++; results in accessing memory outside of the array bounds. Someone noticed this flaw and submitted a new testcase, which triggers this bug in your code.

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

The text for 1520F2 - Guess the K-th Zero (Hard version) is very misleading:

This is a hard version of the problem. The difference from the easy version is that in the hard version 1≤t≤min(n,104) and the total number of queries is limited to 6⋅104.

and adding this to the end of the problem:

To make the game more interesting, each guessed zero turns into one and the game continues on the changed array. More formally, if the position of the k-th zero was x, then after Polycarp guesses this position, the x-th element of the array will be replaced from 0 to 1.

Thanks for the problems.

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

My rating is only 386. Why it's unrated for me?? Tell me, please.

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

I think that round should've been extended, due to long queue a lot of people lost the time waiting the submission verdict.

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

Can anyone explain why this code is giving TLE on test 125?

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

In problem F1 it is said that n>=1 but the second test is 0 1 1.

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

По-моему стоило продлить раунд, ведь люди потеряли много времени ожидая вердикта посылки

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

It's taking a long long time for system testing.

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

The simplest solution for problem C according to me is just print all odd numbers from 1 to n^2 and then print all even numbers. And for n = 2 it is not possible.

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

I submitted the solution of problem B during the contest and the verdict showed me accepted. Now in my submissions list it's showing that my solution is still in queue. How it is done please someone elaborate, I'm new here. This was my second time participating in any contest.

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

Hello!

I've submitted 3 solutions for F2 with C++17(64) and C++14, but it kept on giving me "in queue", did I do anything wrong? I tried to submit another problem with C++17(64) and it worked correctly.

Here are my submittions: 115402170 115401934 115401509

thank you!

UPD: It's fixed now, thank you!

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

Is the contest unrated ?

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

Why haven't the ratings been updated yet? It's not like the contest has been made unrated: there's no official announcement.

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

when there will be a change in ratings ?

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

when will rating come ?

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

I have a rating < 1600 but somehow i didn't get rated for this contest.

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

Felt unpleasant for G -_-#
I suppose it will let solutions with correct time complexity but huge constant pass ......
I need to use -Ofast to pass with time 2994ms ......

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

Is the round unrated?? If so then atleast give an announcement. People are waiting since yesterday

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

its not the good thing that now above 20 hr completed after round start but ratings are not yet given

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

for unexpected queue i coludn't find my wrong for problem F1 otherwise I could solve it

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

System testing is happening again. Isn't it already happened 2-3 hours ago?

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

testforces

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

If the round had to be unrated they should have announced during the contest ,so now its confusing seeing the contest in unrated section xD

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

If the round had to be unrated they should have announced during the contest ,so now its confusing seeing the contest in unrated section xD

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

Dream has reached the goal [The System Testing...Again...]

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

Dream has reached the goal [The System Testing...Again...]

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

Hopefully, they finish System Testing before tomorrow's round :(

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

Why are sources evaluated that many times?

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

Again system testing!!! I am eagerly waiting for the rating update.

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

Contest 1 days postponed:....:

Rating update : Hey I am following you contest

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

System tests have finished.....**FOR NOW**

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

Is it rated?

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

Ratings aren't coming because there are still some codes in the hacks section IN QUEUE

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

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

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

what does this mean +40 in delta section it's showing for 2-3 minutes and then going off

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

My solution for D failed system tests, I can't seem to find the bug in my code, can anyone help? I tried the same approach as in the editorial

115278462

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

Hey MikeMirzayanov! Can you please check these 4 submissions? 115269387, 115321811 115286392, 115315037 I think it's obvious that these two contestants are cheating and the system did nothing about it!

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

How is the rating calculated?

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

Can someone tell me why I got a 'failed system test(tle)' using trivial BFS for problem G? And the same code got an AC just by using a different compiler. GNU C++11 998 ms AC: https://mirror.codeforces.com/contest/1520/submission/115447927 GNU C++17 (64) 3000ms FST: https://mirror.codeforces.com/contest/1520/submission/115322035

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

Just fell upon a question very similar to q4 of this contest-- https://mirror.codeforces.com/contest/1398/problem/C