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

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

Hello, Codeforces!

I'm very glad to invite you to my contest Codeforces Round 700 (Div. 1) and Codeforces Round 700 (Div. 2), which will be held on Feb/07/2021 17:35 (Moscow time). In both divisions, you will be given 6 problems and 2 hours 15 minutes to solve them. One of these problems is interactive, please see the guide of interactive problems if you are not familiar with it.

I would like to thank:

I have tried my best to write clear problem statements and make strong pretests. I hope you like the problems and enjoy the round.

Click here for those who are interested in the joke of rejecting problems:

The anti-traditional score distribution (yes, very early, that's why we call it anti-traditional; I love early score distributions!) is given as follows:

  • Div. 1: $$$500 - (750 + 750) - 1500 - 2250 - 4000$$$

  • Div. 2: $$$500 - 1000 - 1500 - (1500 + 1500) - 3000$$$

UPD: Editorial is out.

UPD1: We are sorry for the issue with the problem D2B and for D2C=D1A turning out to be well-known. Constraints for D2B were changed from $$$10^9$$$ to $$$10^6$$$ and all submissions which didn't get AC during the contest were rejudged.

We apologize once again and thank you for your participation.

UPD2 Congratulations to the winners:

Div 1:

1. Petr

2. A.K.E.E.

3. ko_osaga

4. Isonan

5. Benq

Also congratulations to hos.lyric (the only contestant who solved E during contest time!)

Div 2:

1. 5002ryx

2. AlanChen

3. whx1003

4. zkou

5. Ritos__

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

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

As the author of rejected problems the date of this round, I hope you will enjoy it.

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

    Can I ask a question? Why are you not on the list of authors? I think you should be on the list of authors regardless of whether your question is selected.(To be honest, as far as I know, the passing rate of questions under the antontrygub review is very low. If only the question is selected can be included in the list of authors, then many people may be unwilling to set the title. Because it takes a lot of time to set up questions, and in the end, your questions may not be selected at all, so you get nothing. This is unreasonable at all, and it will also cause authors to lose enthusiasm for setting problems.)

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

    As a one having negative contribution, I can bet this round will be hard

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

As a tester I must say problems are really interesting and well written and please notice unusual solving time. Good luck to all...

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

(1500 + 1500) means that there are subtasks?? Since every time when subtasks are there, then author mentions it...but this time they haven't mentioned

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

At first, I got excited about subtasks because of the $$$+$$$ sign, but then I realized that they won't change my score, it will still be $$$500-(750+750)-1500-2250-4000=-8750$$$

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

What a special weekend! Codeforces Round 700 and Topcoder SRM 800! :D Kudos to both Codeforces & Topcoder.

EDIT — It's SRM 799.

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

As a tester, I hope you will participate in and enjoy the interesting round!

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

Codeforces Round # 700, this is a special milestone.

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

What a Sweet AdHoc/MathForces round!

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

GoraGoraGOra

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

I am 1990 now, and I hope that tomorrow I can take a master. Can you give me some advice on how I should solve problems: solve B2 or solve B1 first and then think about B2?

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

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

woow, score distribution is announced so early! I appreciate it!

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

Wow colourful testers!!!

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

I see there is a pupil tester as well. Can anyone tell how to contribute to Codeforces as a tester?

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

эх -9

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

No one

Literally No one

First few comments downvoted as usual

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

If you saw your comment downvoted recently, that was me :)

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

Can anyone tell me how to get upvotes without telling me how to get upvotes?

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

Div. 2: 500−1000−1500−(1500+1500)−3000 все так говорят)

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

there are three expected rating in this round for me.....ratng<1535 or (rating>=1535 and rating<1600) or rating>=1600....Pray for me

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

Wrong answer on pretest 6. :(

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

You suck Great Hero

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

long queue again? :(

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

i literally fucked up in the today's contest who else also fucked up his contest today !! stucked on B ; C --> Interactive don't know how to solve Interactive problems D--> Wrong answer on pretest 6 !!

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

I have a one question..if i get wrong submission in one question ..then will it decrease 50 point from total point or from particular question.?

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

I'm sorry, but we're heading for no pretests at all? Why is C (div 1) only 5 pretests, taking into account that there are 2 samples? The round is still going on, and I don't know if my solve will fall, but it's still unpleasant...

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

what are the chances that div2 b has weak pretests.

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

meme1.

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

this is the 100th time I WA for writing the wrong variable XD why do I keep doing this mistake?

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

Contest is anti-traditional because WA on pretest 6 not 2

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

For those who want test cases of Div 2 B -

(order of monsters matters)

here is(just like TC3 but in descending order) —

1
1000 1000 4
500 400 300 200
1000 1000 1000 1000

answer should be "YES"

basically we have to sort the monsters in ascending order (first attacking power and if attacking power same them by their health )....so that hero kill small monsters first and then kill the large monster and himself dies(if possible).

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

Video solution to problem C: https://youtu.be/AgJrby-pShU

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

How to solve C?

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

Beacause of the long queue I didn't get to finish E in time :(.

Here is my solution to E:

Put an edge 1->2 with cost 1

For every node put edges such that the lengths of the paths ending with him are in the interval [1, 2 ^ (n — 2)]. By that I mean:

1->n cost 1

2->n cost 1

3->n cost 2

i->n cost 2 ^ (i — 2)

Now simply use as many of these power of 2 intervals to build the interval [L, R]. I wa'd because of the long queue and a dumb error :(

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

Those who are getting WA on pretest-6 for DIV2D. Try this

8
2 2 0 2 0 1 2 2

Ans = 8

Two possible segments are

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

I wonder if anyone got more WA than me:)

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

What is pretest 4 in Div1 C?

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

"Wrong ans on pretest #6" I guess I saw/read this line max number of times :|

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

One of the best contests I have seen in a while and I am saying this because this is one of the few contests where I was stuck to my laptop for solving D1, D2 until the very end. And, they didn't seem unsolvable which they usually do.

Thanks for these brilliant problems, authors

Much kudos to you liouzhou_101

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

How about setting E to be $$$4 \cdot 10^8$$$ points?

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

The problem with B pretest 2 is that you have to sort the monsters based on their attack power increasingly so that you fight monsters with low attack power first.

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

Was $$$N log^2 N$$$ with persistent trees supposed to fail on D (I know it can also be done with parallel binary, but I'm curious for the persistent tree solution)?

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

It's so sad when you find a $$$\mathcal{O}(n\ \text{polylog}\ n)$$$ solution to a problem and it's too slow QAQ

Is there a $$$\mathcal{O}(n \log^2 n)$$$ algorithm to D or are you supposed to make $$$\mathcal{O}(n \log^3 n)$$$ fit TL?

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

proublm D1 try this 13 2 2 2 2 2 2 4 5 3 2 2 2 2 answer is 7

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

My code for div1D: almost 300 lines! Short explanation:

  • First off, let's denote $$$B_{v,a}$$$ — number of values $$$a$$$ on the path from $$$0$$$ to $$$v$$$ inclusive.
  • Look at the value $$$a_l$$$ in LCM(u, v); if it's inside $$$[l, r]$$$, we want to check if $$$B_{v,a_l} = B_{u,a_l}$$$, and otherwise, we want to check if $$$B_{v,i} = B_{u,i}$$$ for some $$$i \in [l, r]$$$ different from $$$a_l$$$.
  • We can turn that into uniform queries: check if the claim "$$$B_{v,i} \neq B_{u,i}$$$ for some $$$i \in [l, r]$$$" is true/false. They can be used to solve the problem through binary search. How do we answer a set of such queries?
  • We can't remember $$$B$$$, but we can traverse the tree using DFS and update a common array to get rows of $$$B$$$.
  • Let's hash subarrays of $$$B$$$. We need to support 2 operations: update a value to get the current row of $$$B$$$ and get the hash of some subarray of this row. It can be done with a Fenwick tree.
»
5 лет назад, скрыть # |
 
Проголосовать: нравится +12 Проголосовать: не нравится

If you are still figuring test cases that break your solution for div2D1

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

How do you solve D2D? Asking both for first and second version. Thanks.

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

fuck you son of the bitches!!!!!

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

In the last 3 minutes I got AC on div2 D1.

I edited it to convert for D2. Submitted when 2 seconds were left but cf didn't accept it saying the contest is over. If my D2 passes now Imma gonna cry !

my d2 lol

EDIT: The div2 D2 I couldn't submit was correct. Also my C failed system tests coz I binary searched on both halves and therefore exceeded the number of queries. Life can make you happy and sad at the same time.

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

Could someone from the testing team please tell me why the verdict for this dataset in Div2 problem B is "YES". 1 1 1000000000 10 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 I used it for hacking. But apparently the accepted verdict is "YES.

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

Very nice problems !!!

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

I wonder why was pure bruteforce solution containing 10^9 operations was not getting challenged in Div2 B. Unnecessarily I got two unsuccessful hacking attempts. liouzhou_101 & MikeMirzayanov please check this as many such solutions will wrongly get accepted.

Here is the java based input generator I used for hacking that solution:

public class InputGenerator {
    public static void main(String[] args) throws Exception {
        System.out.println(1);
        System.out.println("1 1000000000 100000");
        int n=100000;
        for(int i=1;i<n;i++)System.out.print("1 ");
        System.out.println(1);
        for(int i=1;i<n;i++)System.out.print("1000000000 ");
        System.out.println(1000000000);
    }
}

The target solutions I unsuccessfully tried to hack:

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

I got something unexpected for this hack: I believe it generates a valid test, but I got

Validator 'validator.exe' returns exit code 3 [FAIL Expected integer, but "/**" found (stdin, line 1)]
close

Could you check what's going on?

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

Whats the hack case you guys using for div1A/div2C?

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

I registered for the contest but I couldn't attend because of a sudden meeting :(

Does my ranking go down?

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

liouzhou_101 I request you to reduce the full score of Div2C. There are almost 4 times more submissions on this Problem compared to Div2D1 which also has the same score. This is unfair for the people who solved Div2D1 and not Div2C (and i believe they deserve more credit). Moreover Div2C was easily found with a simple google search as well here

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

g

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

Div2 D2 pretest 6?

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

Why is this solution in problem Div2.D1 incorrect? https://mirror.codeforces.com/contest/1480/submission/106825810

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

Why brute force is passing the pretests for DIV 2 C?

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

I think problem Div1A/Div2C has appeared in leetcode or in some FAANG interview, because I saw and solved the absolutely same problem before

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

D1 pretest 6 ? Div 1.

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

What was your approach in C?? I was thinking of this approach "use Binary Search to find 1"

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

I think n=1 is not present in pretest of d2c.

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

Now is the time to see if the pretests were actually strong.

Examples where things can go wrong (solution spoilers you have been warned):
»
5 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Anyone with randomised solution for div2 C?

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

Problems were amazing! Thank You

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

    In my opinion, Div 1 A was pretty much hackable and solution was found online. Div 1 B/B2 each is different so that is like 3 problems in Div 1 as a starter which are all ad-hoc/greedy. Though, I didn't see rest of round. I was already stressed from Div 1 A after seeing that my initial solution a simple test got it WA. So I submitted a second solution which also will FST(Fail System Testing). I left B2 just for A as I couldn't risk losing both(and sadly, I lost both). Though, I don't know about the rest of the problems but they might be good.

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

      My solution for B2 needs only three lines changed from my B1 solution, just going from a range-max to a range-min segment tree (2 lines) and fixing a silly bug in that segment tree (1 line, issue can't be triggered in B1). I'm guessing from the other comments that this was overkill, but I wasn't confident in any of the greedy strategy ideas I came up with for either version.

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

I submitted D at the very last minute, and i waited until as it kept in queue until the contest was over, then waited long and at last I found:

TLE on pretest 51.

Disappointing:(

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

What's the intended solution to F? I misread $$$n \leq 4 \times 10^8$$$ as $$$n \leq 4 \times 10^9$$$, so this is my fault, but I strongly believe giving such high constraints on $$$n$$$ is unnecessary.

BTW, if we can get a large factorial in $$$O(x)$$$, we can get the potential function in $$$O(x)$$$. I tried to squeeze it by embedding pre-calculated factorials but failed because of the code length limit. So Sad.

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

Codeforces = constructive and speed forces Change my mind:/

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

I'm not quite sure I understand the error in my solution to Div2 B.

My approach:

  • Calculate the "total damage" that each monster does (i.e. take into account the number of hits that each monster needs to be killed by the hero, and in turn calculate the damage that the monster does in those many hits).
  • Sort by the total damage (smaller to bigger)
  • Next, see if all but the last monster can be killed in such a way that the hero survives
  • For the last monster, consider a special case. If it needs x hits by the hero to be killed then see if the hero survives at least x-1 attacks from the monster.

Any suggestions on what could be wrong with this?

Code

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

    Why the downvotes?

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

      That's a useless question — no one is going to tell, nor should you care.:)

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

        Well, it helps to know the sentiment of the forum and work on ones netiquette :) Also, if it doesn't matter, then why have the concept of contribution at all? I imagine it exists to build a community, but the way it's structured here is quite flawed (shouldn't likes and dislikes be treated separately?)

        Anyhow, my best guess is that my first version had a language-fueled meme about me having a tough time with problem B, and I later replaced that with a question about the same problem that I was genuinely curious about. Not sure why that would offend people, but I assume that I will never find out.. :)

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

    Should not be sorted by total demage. But by demage in one fight. The health points of hero must be enough to stand all but the last fight.

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

      Perhaps, and thanks for your inputs. I'm just having a hard time seeing the intuition behind this.

      The problem statement claims that "the hero will fight with monsters until either the hero is dead or all the monsters are dead". A single attack by the hero doesn't guarantee that the monster gets killed. So it would seem that we need to take into account the cumulative damage that a monster would impose before determining which monster to fight.

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

        There is also the sentence:

        "For the safety of the people in the country, please tell them whether the great hero can kill all the monsters (even if the great hero himself is dead after killing the last monster)."

        So, the intuition is: It is ok to die in the last fight as long as you kill all monsters. That is bit to much romantic for my taste, but it is written that way.

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

          Ah, I see where I went wrong. We only care about the last blow to the hero (and not cumulative by a monster — that order doesn't matter). Thanks again — after getting tons of downvotes (for asking a question?), this was refreshingly helpful.

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

Is it rated?

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

Hope to never see you as a setter again. Problems were clearly "made in China".

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

I got a minimum bound for number of nodes in Div. 1 C as 2* log2(R-L). Is there any better bound in which case answer could be better?

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

can anyone tell me about the hacking process ..how to do it ,when to do it and where to do it? is hacking done only during contest time?

  • »
    »
    5 лет назад, скрыть # ^ |
    Rev. 3  
    Проголосовать: нравится +15 Проголосовать: не нравится
    1. Lock a problem (click the lock icon on solved problems).
    2. Switch to room tab and it should be your room. If not, switch to your room.
    3. Suppose you locked problem A, then you may double click on others solution on A.
    4. You will see his/her solution. If you find any mistake(s), click the hack botton.
    5. Input the case into the box or upload the testcase generator (remember to strictly follow the format) , then click the button.
    6. You will see the result.

    In normal rounds (like div.2) hacks can only be done during contest time.

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

Problem B2 is this problem but with $$$n = 10^5$$$ and $$$k = 2$$$.

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

My randomised solution for C/A - Ask randomly for value at indices until we get a value <= 50. I used 40 iterations. Find two neighbours if both are greater we got the result else one neighbour must be less than this value if we follow this decreasing chain which is atmost of length 50 we can get our result at the end of such chain

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

Are div2C pretest a joke or sth

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

Why are there 0.5 solutions running on average?

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

I realized how important to name different variables as differently as possible because I made a foolish mistake, which be described in the following.

For Div.1 D, a part of my solution was:

while(L<q[i].l)
	work(id[L++]);
while(L>q[i].L)
	work(id[--L]);
while(R<q[i].r)
	work(id[++R]);
while(R>q[i].r)
	work(id[R--]);

After debugging for a long time, I found that it should be:

while(L<q[i].l)
	work(id[L++]);
while(L>q[i].l)
	work(id[--L]);
while(R<q[i].r)
	work(id[++R]);
while(R>q[i].r)
	work(id[R--]);

Have you seen the tiny difference between the two? If not, please pay attetion to the 3rd line.

What's worse, I spent a long time on Div.1 AB (but got nothing) so that the contest was over when I corrected it. o(╥﹏╥)o

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

Weak Pretests for problem B :(

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

Problem D's solution:

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

Can anyone tell me why sorting is necessary for div2B?

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

strong pretests?

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

Предлагаю добавить фазу открытых взломов исключительно для этого контеста. Вряд ли удастся охватить все решения С одним набором тестов

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

Hello.

What is the answer for this test (Div. 2 B):

1 1 10 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000

»
5 лет назад, скрыть # |
 
Проголосовать: нравится +30 Проголосовать: не нравится
WeakPretestForces.push_back("Round #700");
»
5 лет назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

It's a really interesting contest?! Yes.

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

Please pay attention! The solutions in problem B (Div 2) were hacked by tests to which the system gave an incorrect answer. Example: 1 1 1 10 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 the system outputs "YES"

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

Problem C was so unique that i couldn't find any of its hint on the internet. clown face x 2

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

It is taking a long time for system testing.However I am eagerly waiting to survive test case 12 and 23 for problem "B".

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

What the f*ck maan. this solution passing system 106771738 but it give wrong answer for the test

See test

correct ans: YES these means wrong problem setting. make the round undrated MikeMirzayanov. very much unfair to the people. Many solution got TL in system test. this not fair. Weak test case okay but wrong problem set not okay.

i also maked wrong hacks in B becoz of thinking my solution is right. but my B wrong so my score now in -200. i will not accept

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

My Binary Search FSTed in C and gave TLE on TC11 . Really Feeling Sad

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

Weak Pretests for B and C

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

No one :

Me each time after submitting Div 2B :- Wrong answer on pretest 2 (T-T)

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

TLE FST in Div2B seemingly just because didn't bother to optimize input.

Pretests passed with a huge margin, so I assume they just didn't contain a maximum test case

Normally I don't blame weak pretests, but come on, since when it is ok to require some purely technical optimizations in d2B and not to include tests that check it in pretests?

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

Edit: The type of problems were good

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

this time pretest was not strong

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

Why Problems and Pretests are useless in this contest? Thanks liouzhou_101 for such a nice contribution. Maybe you should first google the problem before setting it in the contest!

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

Meanwhile all strong pretest: Am I a joke to you

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

are we gonna talk about them weak pretests?

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

systemtestfailforces :-(

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

"1000 coders have 1000 ways to write binary search." My C failed in system testing QAQ. Hope I can get back to candidate master as soon as possible.

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

Hi, all! Why answer for test: " 1 1 1 10 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 " is "YES". But the hero will be dead after first enemy

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

Nice pretests!

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

It hurts :_(

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

A small info on Div2 C pretests : 3800+ solution pass pretest whereas only 1300+ passed System test , More than 60% failed on System Testing , That is HORRIBLE

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

I increased more than 1000 positions xd

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

finally nice round! thx

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

Afrer fail in C Div2:

آپلود عکس

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

I cannot understand why I missed "=" in Div2B. It seriously hurts :(

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

It's too sad to see so many system test fail ... poor pretest . this hurts more than WA

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

After Failing System Tests in C (https://i.postimg.cc/nhzHBJbh/testers.jpg)

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

I expected the editorial to explain the proof for problem C-Div2, but it just shows the steps to solve. Could anyone explain why the binary search solution is always true?

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

hi ,i think my first solutions that were in better time can be working now because of the recently changes .could you please rejudge it ?

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

Kindly rejudge my solution for div2/B. Thanks.

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

I think my solution for Div2 B will pass with the new constraint. Kindly rejudge.

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

I think I got 1 WA due to overflow in B, please rejudge.

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

Hello, could you rejudge my problem B please? Thank you!

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

So, you decided to change the problem statement after the contest so that solutions with real bugs pass and you don't get more SFTs

But people who failed just because they didn't include input magic and you didn't even try to include maximum test case, will have SFT nonetheless

So fair

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

I resubmitted the same code I submitted during the contest and it is accepted please re judge my contest code

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

kindly rejudge div 2B i think it will pass new testcases.

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

I think my solution for problem B will pass under updated constraints, please rejudge it.

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

wow thanks so much for the strongest pretests in the word!(read with sarcasm) my b failed just because of one <= that should have been <, and like that error wasn't the most unpredictable error and I think it should have been in the pretests and I know I know I should've paid attention that if the health gets 0 the hero dies or whatever but like couldn't they counted on people missing the details :"""

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

Does "ask a message in the round" in the announcement for problem Div2 B mean to write a comment to this post?

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

Kindly rejudge my submission for Div2 B. I believe it may pass with the new constraints. It has now passed the test on re submission.

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

Please rejudge my solution for div-2(B).

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

liouzhou_101 Rejudge my solution for problem B please.

I cannot message on the round dashboard page.

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

thx authors for retesting

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

You shouldn't keep it rated! Problems with B and weakest pretests for C! YOU'VE GOT TO BE KIDDING ME!!!
Plus are you going to check each and every comment here and then rejudge that particular solution?
Thats tiring!

P.S : I only say this for Div2.

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

the pretests were too weak. I have lost two problems because of nothing... thanks

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

I want my solution for div2B re-judged after new constraints.

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

Please make stronger pretests. It is very heartbreaking when your accepted answer fails in system testing. I think it is the third consecutive round in which many solutions have failed in system testing. Please make good pretests in the upcoming rounds.

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

It's surprising that so well-known problem is given to a Div 1 round.

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

Please rejudge my solutions of Div2B.

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

Hi, Im trying to get my problem Div2B submissions rejudged since there has been judging problems but I can't submit a question to the round. Does anyone else have the same problem? how can I solve this?

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

Please rejudge my solution of Div2B after adding new constraints.

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

Why is this round rated(((

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

I submitted 7 solutions for B during contest. The last submission should pass with the new constraints and probably the earlier ones too. Can you please rejudge?

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

PLEASE REJUDGE MY PROBLEM B DIV -2

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

please rejudge my B . it is getting AC in new constraints . here is proof ... https://mirror.codeforces.com/contest/1480/submission/106850831

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

Please rejudge my Div2 B for the new constraints

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

My solution of Div2-B failed in System tests, but the same solution in now getting submitted. Please rejudge my solution.

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

I think my solution for B will pass with the new constrains, could you please re-judge it? Thanks.

Link to the failed submission, which is correct: here

I don't want to spam comments but the 'ask a question' is not working from the contest page.

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

I think this round should be unrated since after the contest constraints are change.

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

redudge my solution for problem B #106770831

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

Sorry, but I don't really know where should I message to ask for a rejudge of my div2 B submission. I tried the "ask a question" thing but it wasn't accepting my message. Could someone guide me on what to do?

Thanks

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

rejudge my Div 2B solution for updated constraints

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

Can you please rejudge my B solution?

On other hand, why not rejudge all B solutions instead of handling individual requests?

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

Please rejudge my B solution after new constraints.

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

please reduge my div2B. It is passing with new constraints

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

Please rejudge my DIV2B solution with the updated constraints.

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

please rejudje my solution again it is passing new constraint https://mirror.codeforces.com/contest/1480/submission/106771451

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

Please rejudge my div2B

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

My solution for the second problem should pass on updated test case(Verified myself). Kindly re-judge that.

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

Deat CodeForces team, Pls recheck my solution for B with new rules. thx)

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

I think it would have been a better decision if Problem Div2 Problem B was made unrated, as WA wasted most of the time debugging the solution. Even if it passes the test cases, the WA makes it insignificant.

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

Pls rejudge my solution on div2B. It passed with new constraint

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

I don't think it's a good solution for this kind of problem you should rejudge every solution

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

I think it will be better if the round is not rated

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

worst contest in a while. whoever set the pretests should be doomed.

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

i demand my rating back. this contest is f***ing stupid

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

Pls rejudge by div.2 problem B and problem C

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

my Problem B accepted with python 3 but is getting tle in pypy on same code why is this problem happening ? please rejudge my Problem B.

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

Div 2-B. My solution passed with new constraints. Please rejudge my solution.

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

Hello I want to rejudge my failed solutions for problem B. Can you please rejudge it?

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

перепроверьте мое решение в B

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

my submission might pass the new constrains, https://mirror.codeforces.com/contest/1480/submission/106812670

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

MY submission passed the new constraints here is the linkProblem B

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

is this the right way to ask them for reduge?

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

In problem B, my solution gives a TLE on TC 6 even after using fastIO. The complexity comes out to be O(nlogn) per testcase, I believe it should pass. Is there anyone else facing this issue?

Code: https://mirror.codeforces.com/contest/1480/submission/106853307

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

really weak pretests on at least 2 problems + a problem with already existing solution on geeksforgeeks Idk but that really sounds like a contest that should be unrated to me (I found out c had a solution on geeksforgeeks through this (https://mirror.codeforces.com/blog/entry/87524?#comment-758660) comment after the contest)

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

liouzhou_101 MikeMirzayanov

My solution of DIV1(A) got TLE on Testcase 53 and same solution is now giving AC.

Please Rejudge my solution.

Link for both submissions : https://mirror.codeforces.com/contest/1479/submission/106853293 [AC] https://mirror.codeforces.com/contest/1479/submission/106769900 [TLE]

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

Since the constraints are changed after the contest (and that too for B question which has affected large number of participants), codeforces should make this round unrated. Moreover Div2.C has already existing solution on geeksforgeeks (refer https://mirror.codeforces.com/blog/entry/87524?#comment-758660)

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

Will additional submissions after AC in Div 2B still get 50 point penalty?

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

This round should be unrated. such weak test cases

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

Codeforces is now acting similar to codechef. 2 problems have very weak test cases and now changing the constraints after the contest is illogical. Far better to make this contest unrated MikeMirzayanov

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

lol this is what they said 'anti-traditional'; Please_rejudge_my_div2B_solutionForce!

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

Stop rejudging and just unrate this crap.

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

it's not fair that we counted Task B to those who didn't count the overflow. This is the problem of the contest authors that they did not take this into account in the tests, but for some reason those participants who are able to take the constraints into account have suffered.

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

If changing constraints is an option then why not change the constraints for C to n > 1. This too should be fair

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

Before this change my wrong answers (for B) were giving memory limit exceeded now it is giving run time error.When I saw memory limit exceeded I got confused and because of that i did 5 more submissions all of them gave me memory limit exceeded.if previously I knew it that i am getting runtime error I suppose to not do that 5 submission. It was caused panic. And also rating drop.

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

How can this contest be rated! Firstly the div2C was available on gfg and that also had such weak pretests and now this rejudging for problem b

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

Can you please re-judge my solution for div2b

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

How long does it usually take to update ratings?

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

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

Pre-existing solution of exact same question (div2.C): https://www.google.com/amp/s/www.geeksforgeeks.org/find-local-minima-array/amp/

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

I wrote the code in python for question B.The Great Hero. I just checked , participants with same logic written in c++ got AC after rejudge where as i am still getting TLE on test case 12 verdict !!!!

why same logic but different verdict on different language ?

Anyone help please.... my rating is getting affected a lot because of this .

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

Why is sorting with Brute force getting accepted in Div2B, it shouldn't

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

Today I hacked one solution for B just with this simple test:

1

5 10 1

10

10

There is no overflow, just checking that the hero can’t fight with 0 health. My hacking attempt is still displayed as successful. But now the solution passed system tests and it is displayed as correct. How it is even possible?

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

Please! atleast judge the correct solution in Div2B.Wrong solution is also passed.

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

If people agree then please make this round partially rated (rated for those who're getting positive delta)

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

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

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

    MikeMirzayanov, Is there any way to hack solution after contest? I've noticed some submissons on Div2C that are available for hacking

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

    What about participants who gained their points by hacking instead of solving, and their points now are deleted and their ranks are updated? Do some of them want e.g. get decrease of rank instead of increase which they deserved?

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

    Also consider a fairness of the following case, related to Div.2 B: Some participants got 'Pretests passed' having wrong solution and they were not hacked. Others were hacked (e.g. they had a hacker in their room) and spent much time to solve correctly! After contest finished those participants who had wrong solutions got AC because they solved incorrectly, but tests for correctness of the original problem were voided (those which include values of >1e6).

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

      Therefore it comes out that participants were solving one problem, name it 'B1', but they were judged by another problem, name it 'B0'. Changing a problem after contests started (in this case also after it finished) is an interesting precedent! Which is made by good will of organizer team of cource :). But I suggest to put an eye on a flaw of fairness once again.

      UPD. I will add one more thought. Concern about etics towards contestant. He/she solved original problem, and the problem later is absent (it is changed). Then he/she can't discuss it with others, can't sent a link to his/her friend, and e.g. he/she was proud of himself/herself by solving harder problem than solving its easier version.

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

hero attack power =1, hero health =10^6, n=1, monster attack power =1, monster health =10^6,

The above case repated 1e5 times (t=1e5) would give TLE to many solutions which should get TLE as operation count would go to 10^11 by brute force method.

ATLEAST ADD THIS TEST CASE!

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

My rank dropped from 888th to 11111th because I think I have solved ABC, but C failed system test and B was hacked while I didn’t notice. I know it’s my fault, I didn’t consider all situation. Originally: rating +50, now: rating -150. I can’t face it :(

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

I got TLE on Div2 B due to Python's input() being too slow to read a very large line within the alloted time...

Using input = io.BytesIO(os.read(0,os.fstat(0).st_size)).readline fixes the issue, wtf -_-

Can't we at least get that kind of input in the pretests? Or rejudge?

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

I've got a problem with Div2 C. G++17 does not support interactive problems. No matter how I output queries,it's just "wrong output format Expected integer, but "?" found". This problem does not occur in G++14 and G++11 with the same code. [submission:106857366][submission:106857412]

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

I didn't understand why Div2B statement has been changed and rejudged while there was only hacks issue with integer overflow. So only hacks must have been cancelled

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

Deleted

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

I made a terribly stupid mistake in C. I set a base case which would give the answer as 1 when N=1, but I forgot to print an exclamation mark before printing 1. WA on test 43. Could have been a specialist today. I have a great amount of self-hatred right now.

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

    For interactive problems, I find that making helper functions to do all i/o helps a lot with avoiding errors like these. You can make them at the start while reading the problem statement and you will not make mistakes like these, and later on your code will be more readable because you can just a helper function rather than having a bunch of visible i/o cluttering the code which works on solving the problem.

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

      Yeah... It is a common mistake for beginners (including me) not to use helper functions in the code. Just keep in mind that if you write the same thing twice in your code, you better create a function for that. It is also a good practice in the real world programming. Good luck next time!

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

    Twice I've submitted my code to a previous problem I've already solved.

    Once, I missed the case of 1, and had I included case of 1 I would've solved my first live 1900 problem.

    Once, I forgot to print new line on an edge case.

    Once, I solved a question literally seconds after contest ended.

    SO...things happen

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

Thank you so much for the hardwork of making this amazing contest. Really enjoying this wonderful website and this amazing community.

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

Why is this round not unrated?? Inarguably worst round in a while.

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

https://www.geeksforgeeks.org/find-local-minima-array/ Div2 Problem C was a question directly from gfg :(

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

Why are the pretests for C so poor?

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

liouzhou_101, I guess you must know that a considerable amount of accepted solutions for B are wrong. The fault being that they're considering that if the hero has his health points zero before the last attack, he will still be able to win. Now, these accepted solutions are churning out WA now. So, I just want to know that since the solutions are not going to be re-judged again, why are you folks choosing to make this decision?

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

Div 2B WA on pretest2 (: Where the problem is?

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

in problem B wrong solution have also been accepted.

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

rejudge submissions to div2 B

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

All this contest has been is

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

Explain this please
Corner case that is inside the new limits removed..
Problem D2B
This was Test #23 earlier
1
3 10 1
2
16
liouzhou_101 MikeMirzayanov

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

The difficulty level of problem "A" and "B" of div-2 have not published yet!!!I am awaiting with an excitement.Because many of us became frustrated after seeing the final standings.Thank you.

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

I copied a code from the internet which is published before the start of the round then I was unrated.(problem D)

Code link: https://www.cnblogs.com/zwfymqz/p/9223425.html (It's a tutorial of Mo's algorithm on tree which is published in 2018)

Can you change my rating back again? (Because I can swear that i didn't cheat in this round, and I really want to be an international grandmaster.)

Thanks and sorry for my poor English.

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

MikeMirzayanov Sir it is almost 17 hrs but you are not replying me. How can I believe that if I face any issue on the platform, admin will be there to help me out.

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