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

Автор sshwyR, история, 6 лет назад, По-английски

Hello Codeforces! We (dqa2021, Xiejiadong, Retired_xryjr233, Z18 and me) are excited to invite you to take part in Codeforces Round 664 (Div. 1) and Codeforces Round 664 (Div. 2), which will happen on Aug/12/2020 17:35 (Moscow time).

Huge thanks to:

There will be 5 problems in Div.1 round and 6 problems in Div.2 round. You'll be given 2 hours to solve them.

The story of this round is about that man. Instead of displaying his name, I prefer telling one of his legends (or joke):

"I have a 'friend', who makes lots of money every day, earning a billion in the blink of eyes. With a wave of his hand, OIers all over the world will follow him."

You can post your guesses in the comments.

UPD: Score Distribution:

  • Div.1: 500 — 1000 — 1500 — 1750 — 2500
  • Div.2: 500 — 750 — 1000 — 1250 — 1750 — 2250

Good luck!

UPD: Congratulations to the winners!

Div.1:

  1. Benq
  2. ecnerwala
  3. nick452
  4. 244mhq
  5. neal

Div.2:

  1. C.S.T.T
  2. MyLoveKUN
  3. Rchen3
  4. Rinne_qwq
  5. evilbuggy
  • Проголосовать: нравится
  • +583
  • Проголосовать: не нравится

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

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

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

    What's the point of declaring top 5 people in Div.2, after all they are just Div.1 guys who registered with their alternative account, isn't this unfair? for example just look at the person who is placed 3rd in Div.2, this guy was newbie, like seriously? This disrupts entire rating distribution.

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

I am tester, please upvote for me! :)

( I'M CUTE, GIVE ME CONTRIBUTION )

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

Is the man is Bill Gates? :D

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

is that man Jack Ma? just a random guess

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

We don't want stories please, as they come in the way of easily comprehending the problem statement. :(

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

Tester — Planning to participate in the next div 1.
sshwyR — You already tested it.
Tester -

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

Another Chinese Round! This round has special and interesting stories.Good luck and have fun for every contestants. Some information in advance:Those stories may all be about one mysterious person.

[O)]-[(O]/

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

Is the man @MikeMirzayanov ? <3 i have not any guess about his income but i love him and want to see his name in the problem statement ..

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

Mukesh Ambani???

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

Boss Cai!!

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

I am almost sure this man is Jack Ma.

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

I want to know what is Polygon platform ? Strange word for me

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

I know! The man is Cai Rui[user:Boboniu]!

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

Intersting fact: tourist will set a new best rating ever on codeforces if he wins this round!

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

Chinese Round?

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

Fun fact: seeing MiFaFaOvO can't participate in this round, if he doesn't in the next global round, he will vanish from the live standings xD

And "poof": he is gone xD

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

I guess it's CCF

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

I do CP for fun.. What about you guys?

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

BINOD !

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

It's Mr-Cai!!! Hahahaha

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

When I see Chinese round, I think of Mathforces.

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

so... Yet another maximizing profit problems ... or Yet another guessing name problems :v

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

Ronan Ryan?

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

interestingLSY Time for your picture about boboniu!

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

Ah-oh, EvenImage as a tester, which means we can't see his competition with tourist this time. A huge pity!

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

He must be Zide Du(杜子德) from the CCF.

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

Is him, right ?

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

Please provide short statements for problems and understandable english,I am learning english .Thanks

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

[Deleted]

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

See this 89567737

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

What's happening to "timeanddate.com"? :|

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

Boss Cai -- boboniu

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

Makes lots of money everyday. That must be dzd from CCF(China Collecting-money Foundation)!

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

I became psychopath because of the little pony, please make sure that the problems have short statements. with appreciation to your great story.

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

I really hope that the problems are not as hard as the quiz.....

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

How many number of common problems ?

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

Richie Rich?

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

It could be suneo's dad from doraemon xD

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

is it jeff bezos ?

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

Olers?

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

Is that man Mark Zuckerberg??

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

Is the man Mike Mirzayanov ?

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

JPow?

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

If there are unnecessary stories, please, do mark them in Italic or any other way. I've faced a lot of issues about bad storytelling in Codeforces. :)

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

What are "Olers"?

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

i guess Jack Ma .

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

I guess he's kkksc03, head of Luogu(an oj in China). For every monthly contest in Luogu, if you want to watch the video tutorial, you must pay 10¥ first. And what's more there's lots of OI online lesson made by Luogu in every summer and they're not free! So he can make lots of money in this way.

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

    Actually, according to himself, the money is not paid to him directly and a lot of money is spent in maintaining Luogu's website. And the lessons' money will be given to the teachers. So I'm very sure that it's not him.

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

Any hint about no of common problems or score distribution ?

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

Score Distribution?

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

Obviously,the man is DUZIDE:P

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

Score Distribution?

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

I have a request for MikeMirzayanov.. can we have TEAM contest at codeforces.

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

It's €€£

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

sshwyR how many problems will be common in both divisions?

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

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

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

Today's tester busy with increasing their contribution .

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

Div2 Problem E with 1750 (^_^)...it should be solvable

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

iam not a tester, but please upvote for my pp :).......

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

The man must be, President of IOI: Richard Forster

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

Zhengru IOI will be internationalized.

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

Karuna! :D

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

An off-topic question: how can I view the past contests right before contests?

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

Too much if else... :(

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

Normal Div1:

Try to solve more problems

Horrible Round #664 Div1:

Try to solve the first problem faster

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

If I accept no question am i still rated?

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

why they set so hard

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

Was this the "Single Test Case" Contest?

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

Really nice problems and clear statements. Enjoyed taking this contest :D

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

Codeforces rounds are great, they teach us how to look at a problem in a simple manner, without overcomplicating it. orz Great contest.

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

Well well well, once again someone posted solutions on youtube during the contest, you can even see his username in the video, i wonder if these guys are shameless or what Video link Username: Khayrulmithu

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

I really liked d1 B, but...

Starting from any vertex u

This would be much more understandable if it said from all vertices. Wasted lots of time solving the wrong problem.

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

What was the point of swapping X and Y in Div2B?

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

Does this works for Div-2 E — Make a graph $$$g[i][j][k]$$$ = how many edges exist such that its head is on node with $$$i$$$ outgoing edges and tail is in node with $$$j$$$ outgoing edges and it is $$$k'th$$$ smallest one. Then we brute force every $$$c_i$$$. That will be $$$O(k!k^2)$$$

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

The whole round is like an ingenuous play of MiFaFaOvO to get back his first place in the rating (though unsuccessful). Chinese people are really good at the art of war. My respect.

(please don't take this very seriously)

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

Why the "non-empty" in C? I guess it has to do with printing the output but it reduced problem quality by like 30%.

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

Is C checking if a cube like shape fits all of the given points by binary search / math?

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

How to solve Div2C? Also, where does the N^2 check all pairs approach go incorrect?

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

Is 1C a geometry problem? I thought it just need to binary_search and compute the area covered by several polygon..

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

I passed the pretests in Div2B with a backtracking solution, how is that a thing?

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

Hints for $$$Div 2 E$$$ Please?

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

    Assume you have selected a tuple. Of course, you can now reduce the initial graph to one such that each node has out-degree of 1. Realise that for each node to be in a cycle in this resulting graph (and thus be possible to reach back to it in finite time), each node must also have an in-degree of 1.

    For each node (let it be Q), traverse over all nodes that point to it, let's call these set of nodes P. You can easily determine that for which value in the tuple will these nodes in P be pointing to Q. Also, this means that these values can not co exist in the tuple, since that would mean that multiple nodes point to Q in the resulting graph. Thus, you make a list of all these invalid combinations.

    Iterate over all K! tuples, and for each check if they consist of an invalid combination. If not, then it is valid.

    Sadly, was a bit late while implementing in contest :(

    Here's my AC code: https://mirror.codeforces.com/contest/1395/submission/89731507

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

1250 not enough points for Div.2D

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

Long Long in problem A just ruined my whole contest.I almost wasted 50min behind it.

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

In Div2C, Sample test 3, what combinations get the final result as 147? The minimum I could get was 177.

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

    I think you applied the dp approach. I did the same thing at first and waste a lot of time. just brute force the answer

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

    I think this was the combination

    Spoiler

    these are indices of the element from array a and b

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

    I also got the same error during the contest but now I understand. Well, let's say our solution consists of two parts, 1 and 2. I am not going to explain the second part assuming you already know it.

    But in the first part, u must be choosing a minimum c1 among all possible c1 and then doing part 2 of the solution but we are doing a mistake here. Actually, part 1 of the solution has n possibilities. Choosing minimum c1 is just one of the possibilities. A second possibility, for example, can be choosing a minimum c2 and then doing part 2 of the solution. Similarily choosing a minimum c3 among all possible c3 can be the third possibility and so on. So there are n possibilities.
    So the solution is O(n^3) and not O(n^2). wicardobeth

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

i will fst in d,One detail was not considered,shit.

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

That was implementationforces, I like that. Should be enough to become blue again :)

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

How to solve div2 D?

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

    1) Make 2 lists: one of all greater than m (let us call it gr), second all less than m(let us call it sm). 2) Sort gr reverse and sm normally. 3) Now compare highest unused of gr with sum of d consecutive of sm. If gr highest is greater than simply add that to ans(in other words muzzle d smallest elements of sm). Take care of these things: 1) Do the above only till you have atleast 1 element left in gr, cause you can add it in the end. 2) If you encounter condition like less than d elements remaining in sm, then dont compare with gr greatest element as you can add all remaining along with greatest, if greatest goes in the end. 3) In the end try to put all remaining elements of gr in the end of the permutation seperated by d elements each. For details see the code: 89725326 If I fail system test ignore this comment :D

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

Can anyone please tell me what's wrong in my code? Problem A https://ide.codingblocks.com/s/308173

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

Can someone tell me why this solution to 1C is wrong?89722745

I can't find the mistake :(

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

Boboniu stands nowhere in front of Binod

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

Any Idea of Test 16, Div1 B ?

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

How to solve Div-1 B??

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

Need help, why did my solution for Div2B did not pass ? I have used dfs- https://mirror.codeforces.com/contest/1395/submission/89714645

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

Problem A: What is the problem with my this python code?

I decremented min(r, g, b) from r , g, b. Then count how many of them are odd from r, g, b, w. If number of odds > 1 the answer is "No", else "Yes".

Sorry for bad English.

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

    What if input is 2 5 7 3. Now if u decrement r g b by 2, then r b g will be 0 3 5 and w will be 9.

    No.of odds will be 3 (0 3 5 9)..so it return "No"

    But if I remove only 1 from r g b then r g b will be 1 4 6 and w will be 6. (1 4 6 6), we can form a palindrome.

    Decrementing min(r,g,b) is wrong step.

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

Can someone give a small hint for 'B'?

As far as I understand:
1) The requirement "should be able to return back" is equivalent to:
= edges that satisfy Ci-rules should form loops
= every vertex should be a part of a loop
= every vertex should have an active edge coming in — this is what we need to check
2) k <= 9 so 1*2*3*4*5*6*7*8*9 = 362880 total sequences of Ci.
If we were able to somehow check whether a specific sequence is good fast, than we could just enumerate all sequences and count the good ones.

Am I correct with (1) and (2)? If no, a small hint would be appreciated.

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

Does anyone know if there is a testcase on Div1B which breaks the hashing solution for the MOD 1e9+7?

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

Very nice problemset, reminded me to practice.

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

[deleting this because it came out wrong. I'm referring to Chinas efforts in testing all of Wuhan, which is amazing, not them experimenting and creating the virus (which I think is false).

I can't delete this, so if some CF mod could for me that'd be great.

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

the use of "muzzle" in problem A felt rather odd.

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

tourist RIP rating

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

FAILED TEST 31 IN C? GOING BACK TO DIV4.

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

I am surprised by the number of high-rated coders who do not realize that in Div1B, the in-degree of each node can be up to O(n), and iterating through pairs of nodes which go into a particular node can take quadratic time in the worst case.

I am also surprised that there was no pretest against such solutions. But I think this is fair. Contestants are responsible for ensuring that their solutions' time complexities are acceptable.

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

Pretests were way too weak, just look at the amount of failed submissions in Div1 ...

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

What the hell were you guys thinking. I don't usually get mad, but now I am mad. This contest honestly has made me not want to do cf anymore

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

Absolutely disappointed

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

my disappointment is immeasurable and my day is ruined

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

My only question is why?

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

Weak Pretests :(

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

WHYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY

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

So many main tests failing

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

Worse pretests ever.

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

89726386 here is my solution for D, it for some reason gave no output nor any errors. its probably a silly mistake, but i cant find it. could anyone help please?

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

I was so happy after giving the round but Wrong answer on test 31.

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

Going to Specialist~~~

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

Even though the round was great with short (and to the point although a bit unclear initially) problem statements, I found the pretests to be weak..lots of solutions are failing the system tests.

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

Very weak pretests for Div2 D , even the most simple side cases werent inside the tests.

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

Am I the only one who solved Div2 C with dp? 89700923

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

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

( ཀ ʖ̯ ཀ):

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

Alot of solutions are getting rejected after passing pretests i think

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

Why doing nested ternary search is correct in problem C?

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

Why is brute force O(n*m) failing for div2 C ?

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

When you're feeling good after a contest getting A B and C, and it's looking like you're going to gain a lot of rating, and it just all gets crushed by failed system testing due to weak pretests :(

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

PLEASE MAKE PRETESTS STRONG !

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

My div2A failed test 10 ,and div2B failed test 39 :( Why these tests were not used in contest ?

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

Everyone to their before system testing score: Those son of bitch lied to me!

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

in B div1 I don't get why the 9!*9*9 ~= 3e7 should not pass the tests but with some optimizations it should pass. the 1s time limit is so stupidly chosen.

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

Pretests just ruined this (I don't think it is supposed to be that many "failed on systests"). Your contest suck!

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

Over 850+ System test failed in problem C. Including me :(

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

The following submission https://mirror.codeforces.com/contest/1394/submission/89716136 gives runtime error on pretest 3 on the judge server but it works fine on my local pc and on ideone when tested now. Can anyone tell me why this is going wrong? Is it because codeforces uses the CLANG compiler?

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

The pretests were kinda weak:((

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

I think it's not just that getting faild on sample tests decrease our point, because sample tests are for testing our code. In this contest, I get 2 or 3 WA's on pretest 2 of problem A that is a sample test, and it decreased huge points from my solution.

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

I did Div2 C like this: https://mirror.codeforces.com/contest/1395/submission/89706416 with O(n^2) complexity but I'm not able to think of a proof exactly for why this is right, can someone help me out?

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

Weak pretests! and testers asking for upvotes

me

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

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

To not keep you waiting, the ratings updated preliminarily. In a few hours, I will remove cheaters and update the ratings again!

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

My brute force solution passed Div1B.

Can anyone hack it? :)

this

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

Hi everyone, I was stuck in Div2-C for more than half an hour. People say if you are stuck for more than half an hour, you shouldn't try more and just wait for the editorial. So, I gave up. Later when only 15 mins were left, the idea struck my mind. And I couldn't implement within those 15 mins. But after the contest, I submitted and it was correct. So, how should I decide whether I should give up or not?

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

It's so unfair when pretests are too weak, especially in problem C, D. Luckily, I've passed the system test, still, I would say it's not fair.

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

code
Why this solution of O(n*m) for problem C is giving TLE on test 10

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

Weak pretests in D. It hurts.

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

Oh... I get it. They didn't write "we tried to make strong pretests" so they aren't.

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

Can anyone tell why my code for div2 C is giving TLE. code

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

During the contest in Div.2 C, the verdict was pretests passed and after system testing, it became wrong answer on test case 9. Can someone explain me why?

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

Failed system test in problem C. And finding out that it can be solved using brute force. Just disastrous.

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

http://mirror.codeforces.com/contest/1394/submission/89728986 A hack for Div1 B

I enumerated all incoming-edge pairs of every vertex in this solution, which has a complexity of O(n^2) in the worst case.

However, it got Accepted when I submitted after contest :(


By the way, I improved my solution and resubmit for 3 times during the contest in order to fix the bug. And, my new code Failed System Test because of another mistake TAT

Wish for stronger system tests :(

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

Ok, I have been trying to debug my code for Div1B for more than 2 hrs, but I am still not able to find why this is failing. Its just a simple brute force. Can anyone point out where I am going wrong?

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

    Your solution undercounted because "cnt == n — 1" ... a valid solution can result in more than one cycles being formed.

    Here is a simple test case to illustrate:

    4 8 9 1 2 1 2 1 3 3 4 2 4 3 4 1 3 10 3 1 30 2 4 20 4 2 40

    The answer is 362880 (equals to 9! which means any valid combination works). Your code ouputs zero.

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

What is test case 16 of div2 D can anyone help:(

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

System tests ate my rating!

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

int main() { ios_base :: sync_with_stdio(false); cin.tie(NULL); auto startTime = curTime();

int n,m;
cin>>n>>m;

vi a(n);
vi b(m);
rep(i,n) cin>>a[i];
rep(i,m) cin>>b[i];

ll mx=0;
rep(i,n)
{
    ll mn = inf;
    rep(j,m)
    {
        mn = min(mn, a[i]&b[j]);
    }
    mx = max(mx,mn);
}
ll ans=0;
rep(i,n)
{
    ll mn = inf;
    rep(j,m)
    {
        mn = min(mn, mx|(a[i]&b[j]));
    }
    mx=mn;
    ans = max(ans,mn);
}

cout<<ans<<endl;

Can anyone explain the logic of this solution? I saw same thing in many accepted solutions.

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

Problems from this round are really nice ones! Maybe the pretests could have been stronger. My friend's code for problem Div1C is $$$O(n^2*log(n))$$$ and it passed pretests. I'm not sure if it is a good idea to use such weak pretests for CF rounds. Besides that, this was an interesting round. I enjoyed thinking Div1B. Thank you for your effort! :)

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

In 1394C - Boboniu and String, there was no test with a string longer than $$$200\,000$$$ (while the limit was $$$500\,000$$$). People could use too small arrays or iterate/binarySearch in much smaller range. Come on, doesn't Polygon warn you automatically if you don't hit some min/max value?

My sad story is that I noticed my own mistake during a contest, resubmitted and thus dropped 5th -> 20th place. My first code gets AC though, and only now I uphacked it with one long string.

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

I develop app , CP helps me build logic and thinking capability.

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

Thanks for the contest! But a little overkill B :( Many people complain about pretests, but I think pretest were actually good (upd: good means not strong, good — finally allows to hack).

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

    Dude, are you nuts ? How can you call the pretests strong ? Every other solution is failing in system testing. Many solutions even failed A and B in Div 2

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

      I know it is hard skill to read, but try it again. I said "good", I did not say "strong". Also "pretests" is not the same as "tests". And good, because hacking this round was not useless feature again. But I was talking about Div 1. Div 2 A or B probably should have all tests in pretests.

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

Is the guy Binod?

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

Any reason why the multiple testcases within a single test format was excluded today? Believe recent rounds had fairly less systest fails cause of that. Might be difficult / annoying for both parties but is still the better & safer choice imo

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

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

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

Thank You for the Contest, I have finally become candidate master.

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

In div2 A problems, I found my code is wrong.

input >

1
1 2 2 4

In the above test case, The answer is 'Yes' but my code prints 'No'. 89667141

(If the test case is added, Will the standings be affected?)

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

When will the editorials come out?

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

It is not easy to prepare a round in CF. This round is good except the test cases(not pretest but all test cases in some problems). For instance,in Div.2 C,many participant failed on test 31 which was emerged during the hacking phase. Except that,I am still greatful for the effort of writers and coordinators.

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

https://mirror.codeforces.com/contest/1395/submission/89766628 This is my answer to div2 E question. But there is a problem. This program cannot be guaranteed to be accepted. So here comes the question. If the program is submitted multiple times during the competition and all pass the pre-test. Which program will you use to run the system test? It is the last submitted program. Or do all programs that pass the pre-test run a system test?

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

I'm unable to understand the editorial for div2- C. Can someone explain to me clearly?

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

editorial?

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

How to prove that the function is unimodal in Div1C(Div2F)?

Thanks

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

Btw did nobody notice that div1D had pretests = systests? There were some "WA on pretest 71" during the contest.

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

In problem 2 the vertical coordinate was X and the horizontal one was Y. Why?

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

In Div2 problem E, why aren't the tuple's length equal with the cycle's edge number?

Like in example one, one of the cycle is from node 1 to 2, to 4, to 3, then back to 1 with 4 edges, so the tuple should be (1,1,3,1), right? But the answer tuples are (1,1,3) and (1,2,3). Is there something that I missed about this problem's statement?

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

code why this code for problem C won't get TLE