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

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

Now that the contest has ended, how many did your team do?

Does anybody have a link where we can try to up solve the problems.

Also, any hints for D and E.

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

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

This was one of the worst prelims ever.

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

For E, try to think of the strategy to minimise operation 2 for a given labeled tree. You will realise that all the edges labeled upto c must be part of straight line. After that its just a bit of combinatorics. Hope that helps!

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

D:

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

Is there any trick in solving c??

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

    I won't call this a trick but there is a simple (it took time to get this obviously) observation:

    choose a = c, which simplifies the problem:

    a ^ c + b ^ c = lcm(a,c) + lcm(b,c) since a == c, a ^ c = 0 and lcm(a,c) = c which gives us:

    b ^ c = c + lcm(b,c).

    Now find b such that b ^ c = b + c and lcm(b,c) = b.

    For this i just left shifted all the bits of c by msb(c) + 1 i.e., (c << (msb + 1))

    observation: c is 1e7 so the maximum bits it will have are about 23 or so (took log2(c)) and a,b can be atmost 1e17 which can have atmost 56 bits. So we can shift all the bits of c to the left easily.

    Our final answer: (c,c << (msb(c) + 1)).

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

    So you have to make lcm(b,c) = b and a^c = b

    what we can do is count the no of bits(l) in c and make a = (c<<l) and b = (c<<l)+c then you will be able to prove that this the answer

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

i have no way to verify this , so if anyone could find corner case to this code. E is pretty easy maths, D was little tough to verify but still not sure by 100%. if its correct.

statement if anyone needed: statement link

but this are the codes for D and E
E : https://ideone.com/8ryr8P
D : https://ideone.com/4tQrdu

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

Problems like A should not be in an ICPC round and D shouldn’t be positioned at D, especially when you are not even letting the problem count or standings public. Expected much better but this is just ridiculous that newbies have better hopes of making it to regionals. Maybe it’s just a rant, maybe it isn’t. I will let this one be here.

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

    wait standings was not public ? this is very unprofessional for cp contest.

    also what is A lol , just remove it instead !!

    btw you should not complain about relative ordering, because in past there was no fixed order relative to difficulty !!

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

      “D shouldn’t be positioned at D” can be translated to 4th easiest problem shouldn’t have been such a stupid leakable/guessforces problem but yeah like I said it might just be a personal rant at this point. Although am sure a good chunk of strong teams who suffered would find rationality in what I say.

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

        What does leakable even mean in this context? Also have you ever heard of constructive problems? This sounds like someone ranting for underperforming in the contest and trying to find an excuse for the same.

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

    I agree about problem A, but i found problem D pretty decent, it was quite better than problem C, i found problem C also quite decent, i guess the intuition that if c=1101 then a can be 11010000 and b can be 11011101 was enough....it took me some time to get this construction but i found c,d quite interesting, in all it was a nice contest.....if u ask me :)

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

    Problems like A are only added to boost participation numbers, they have nothing to do with selection. Also, when I tested D, I found it quite interesting, so the problem wasn’t bad, it was a skill issue on your end :)

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

There was lot of cheating in our college(NIT xxxxxx), i just want the organizers to know about it, and ask our college coach(which is common to all teams) for clg lab recording to remove cheaters. Participants are moving to washroom and cheating and some of them are using gpt in labs too. Our clg coach does not came for evaluation(since its saturday holiday) instead he sends his phds for it and those phds just literally don't care and know the importance of icpc and they didn't stop cheating. I don't think our coach will be interested(or have time for appealing for us) in removing cheaters. So, is there a way to report this incident to organizers ?

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

We did 3 questions.

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

They have made the contest public so you can upsolve at CC Link

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

Live Solved A — E.

Checkout my Stream.

https://www.youtube.com/watch?v=a_HwaoPE0Vs&t=6424s

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

My team did 4, which was great considering this is our first icpc :) also what would be the estimated rating of the problems?

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

Can anyone give a hint for F? We thought that it was a combinatorics problem. Like swapping elements can lead upto n! different permutations. So to find the number of ways, we could just subtract the permutations which were invalid (for which F(a)=1). But I cannot figure out how to count the number of invalid permutations. Can anyone help, or do we need to think of something different?

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

can we report a team if we find their code sus?

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

Just hate reservation atp.

Teams with lower ranking will get selected because of the 5 Cap.

Anyways cant complain have to be better imagine being in top 150 and getting rejected.

Feeling sad with 100 others :)

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

Chances for a 1300 ranked team to get selected ? Solved a, b, c. We are the only team from our college...

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

    Same Question, We are Rank 1 from our College, but it Depends on the Value of 'k' which is Set by organizers such as atleast K Problems should be solved by a team to Qualify. Since more than 600+ teams have Solved 4 Questions, the chances are very very less for rank 1300 to get selected

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

Fun contest!

Personally, really liked the geometric interpretation of D; my teammates' favourite problems are C and E though.

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

    whats the geometric interpretation ? can u brief plz

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

      Consider points $$$(i, p_i)$$$ in 2D. For an operation of type 1, we will have some point $$$(x,y)$$$ such that all points in the left half of the subsequence $$$t$$$ will be below it, to the left of it, and all points in the right half will be above it, to the right.

      For the array $$$\left[2,\ 3,\ 6,\ 1,\ 5,\ 4\right]$$$, it looks something like this

      Image

      We shift the origin to this point. Now in our first operation we clear quadrants $$$I$$$ and $$$III$$$ which have (say) $$$a$$$ elements each, and in our second operation we clear quadrants $$$II$$$ and $$$IV$$$ which have (say) $$$b$$$ elements each. Then observe that the number of points to the left of the Y-axis is $$$a+b$$$ and so is the number of points above the X-axis. Also, $$$a+b = n/2$$$.

      So the resulting code is:

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

Is there any chance for a team with rank 132 getting selected?

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

we are top 2 in our clg(top 1 team is not in our region),chennai region and our rank is 860,is there any chances? :(

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

How can we report the cheaters..!

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

Is the sort by Institution Name working in the published Codechef ranklist ? Couldn't apply that filter.

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

the contest was fun however , i hope satyam343 u knew about the rule for solving the just 1 problem ... the first problem was just nothing so the better colleges would suffer from this ... our team managed to solve 4 problems with decent penalty but because of our college we are mostly not qualifying (we are almost 10-15th in our college) . To further elaborate about the 1 qn rule ... anyone who does just one question and is able to sit for prelims just because they are first in their college is dumb

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

    How would better colleges suffer because of 1qn rule? Your team probably would not have been selected even if one question rule wasn't there, as per college max number of teams is fixed.

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

      yes i would say we wouldn't have qual anyways but imagine a team who did 4 .. they are 6-8th in their college or something like that ... they would have gone with the general stuff they would have qual but due to the selection of the first team from each college first many of them wouldn't get that chance

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

My Team did 3

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

To everyone who want to report cheating.... https://forms.gle/AXquoXf7atw6TMyE7

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

in deep guilt for not being able to do D even though it was such an easy problem. Thought of segment tree and stuff but now i realise this was one of the adhocs which validates the statment that "adhocs are provable" .

My final intuition with D: the best case for which ans will be 1 is [1,2,3,4,5,.....n] can be broken into two halves where 1st half has all the values <=n/2 and other half have all the values >n/2 or vice versa

the other cases are basically an upgrade of this case only where some values in first and second halves are swapped

So first we may take all the values>n/2 in the first half and all the values <=n/2 in the second half and next we may take all the values<=n/2 in the first half and all the values>n/2 in the second half.

thank you

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

We did A-E :D

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

does anyone know when'll the final results of the teams selected for regionals be published ?

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

Can someone tell what was the value of K (i.e the maximum number of teams selected for amritapuri, other than the top 25, from a college) was? Or The maximum teams that can get selected if there is no team under 50 and quite a few from 100 to 300 from the same college?? 18o3

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

    Agreed with the typo in Selection Criteria 2. I believe it should be 5 for Selection Criteria 2 since it was mentioned that 5 teams per college would be allowed, but it is showing 4. Let's hope that this would be rectified soon.

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

      5 is when atleast 5 teams from a college are in top 25 I think

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

        Yes. I wanted to know how many other than top 25 can qualify from a college, as it is mentioned k<=4 and will be decided after the contest?

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

        Previously, communications indicated that 350+ teams would be selected, with a limit of 5 teams per college. However, the current rules now state a total of 320 teams will be accepted, with the 5-team-per-college limit applying only to the top 25.

        This sudden adjustment is a bit concerning. What feels particularly concerning is that this new, two-tiered system was never mentioned. If there was always an intention to apply a different, more restrictive limit (e.g., 4 teams) to colleges outside the top 25, that should have been specified from the start.

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

Our team got a rank < 400 and we are the institute toppers. But our video recording ourselves was corrupted after 1 hour into the contest. I swear we haven't cheated and we still have our voice and screen recording. What should we do?

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

Do we get the regionals qualified mail to the team members or to the coach only? We got <150 rank, we(students) haven't received the mail. So, incase we were wrongfully flagged, what do we do ?