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

Автор 18o3, история, 3 года назад, По-английски

This year there will be two separate online qualifier rounds for the two regionals.

The contest for Mathura is from 2pm to 4pm IST on 18th March 2023. Link
The contest for Amritapuri site is from 8pm to 10pm IST on 18th March 2023. Link

Let's use this blog to discuss the rounds after they end.

Hope to see you all on the leaderboard.

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

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

Best of Luck everyone!

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

Kanpur Mathura prelims has to be the worst ICPC contest, probably ever. Imagine setting 4 problems for a team of 3, and so easy that all of them could easily be solved in $$$\lt$$$ 20 minutes total. And then to add icing on the cake the penalty for a single wrong submission is 20 minutes as well

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

Was this ICPC qualifier or leetcode contest? 0_0

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

speedforces

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

Can anybody tell why this got TLE?

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

If you take 10 lakh rupees as cumulative fees for just the prelims, it is just downright shameful coming up with such a problemset. Probably should reassess whether your priority is advancement of CP or just a pitiful money grab

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

Refund.

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

Can someone please tell me why this got TLE ?

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

How to make a 1600 rated problem 1800.

Give input in floating points.

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

Speedforces af.

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

worst contest I have seen

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

Preparing for ICPC prelims:

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

Can anyone give a testcase that fails this code for B? Cannot understand what is wrong with this approach.

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

What happened to that tradition of ICPC where one problem is solved by all teams and one problem is not solved by any team Why having prelims as div 69420 contest

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

How many teams will be selected from each institute ?

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

Kanpur regionals qualification rules have been updated here

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

Does anyone know how many slots are there for Mathura Regionals?

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

Why is nlogn solution giving TLE for XOR sort?

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

    For me it didn't

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

      This gave TLE

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

        #define endl "\n"
        195 ms

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

          I’m jumping off the terrace

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

            after 1st tle even optimized it to o(n), still didn't make it. Our team is jumping off too.

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

How to solve central subset?

link

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

    Centroid decomposition ig

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

    Let sz(x) mean the size of the subtree rooted at x. Formally $$$sz(x) = 1 + \sum sz(v)$$$ for all children $$$v$$$ of $$$x$$$.

    Choose an arbitrary root and walk through the tree normally with a dfs calculating values of $$$sz$$$. For any node where $$$sz(x) \geq \sqrt{n}$$$, add $$$x$$$ to the subset and consider $$$sz(x) = 0$$$ for further calculations.

    Why does this work?

    • For any child $$$v$$$ of $$$x$$$, $$$sz(v) \lt \sqrt{n}$$$, so the distance between any node in this subtree from $$$v$$$ must also be $$$\lt \sqrt{n}$$$. Since $$$v$$$ is a child of $$$x$$$, the distance of any node in the subtree from $$$x$$$ is $$$\lt \sqrt{n} + 1$$$ or in other words $$$\leq \sqrt{n}$$$.

    • Since $$$sz(x) \geq \sqrt{n}$$$ whenever we perform this, we add at most $$$\frac{n}{\sqrt{n}} = \sqrt{n}$$$ nodes to the subset.

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

    1) Pick any spanning tree and root at node $$$1$$$.

    2) Pick the node having the max depth, go up $$$\sqrt{n}$$$ for that node following parents, push this one in the answer, and remove that subtree.

    3) Do step 2 until the tree is not empty.

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

Kudos to Amritapuri online round setters, it felt like a fairly nice and balanced round (except for maybe a bit of an aggressive difficulty jump after the first problem). I really liked how cute the solution to problem A is.

Not at all biased by rank 11 in Amritapuri qualifier vs rank 227 in Mathura qualifier :P

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

What are the qualification rules for amritapuri?

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

Did anyone manage to get non-TLE with $$$n \sqrt{n}$$$ on A?

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

Will there be additional system testing on the Amritapuri prelims?

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

For the mathematicians and physicists problem of amritapuri region we did dp ( very similar to this problem), but got mle even after replacing 2 d input array by a map of pairs.Any suggestions?

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

Kanpur-Mathura Online Qualifier Round unofficial list here. (made by me :))

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

Are qualification rules for Amritapuri same as last year? Can more than 3 teams qualify from an institute?

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

Any ideas as to when the results would be announced? As the regional dates are close approaching, and most of us would need to book flights to get to Bangalore/Amritapuri.

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

gwalior pune region info anyone

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

We got 180 rank. Is it good for qualifying mathura site!

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

When will mathura region results gonna be declare?

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

can someone share official telegram link for mathura regionals?