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

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

Hello Codeforces!

Computer Club, MNNIT Allahabad, India is glad to invite you to the annual programming competition of MNNIT, INSOMNIA, which is an ACM-ICPC style team programming contest of 2.5 hours duration held on Codeforces during its annual technical fest Avishkar. The team can consist up to 3 members.

Contest Details:

  1. Qualifiers:
    • Start Time: Wednesday, November 9, 21:00 IST
    • Duration: 2.5 hours
  2. Finals:
    • Start Time: Sunday, November 13, 12:00 IST
    • Duration: 2.5 hours

Top 25 global teams, and Top 25 teams from MNNIT (based on the result of Qualifiers) will qualify to the Finals. The prize distribution for global teams is mentioned below:

Teams consisting of MNNIT students only will be eligible for a seperate prize pool.

Register your team for the qualifiers here: https://forms.gle/BKsbKfoGzSxC394R8
Also self-register your team directly on codeforces: https://mirror.codeforces.com/contestInvitation/a08a3cd920019089aec1f1492b88bbb3f76a478d

Problem setters: GoatTamer, Electron, Invincible06, Prat21, Rook_Lift, karimulla1098, lokesh_2052.
Testers: Aur_Batao, satyam343.

We have an exciting problemset awaiting you. Good luck and have fun!

UPD: The Finals will be open for all to participate, but you will be eligible for prizes only if you have qualified through the previous round. (Qualified teams will be sent an email for confirmation and as a reminder to register). Finals link: https://mirror.codeforces.com/contestInvitation/fba84689837b1330fca8c746fe64af017d523fb6

UPD: Hope you guys enjoyed both the sets. Here are the official winners of the finals:

Global teams:
1. amigos (ritikmital, rishabnahar2025, gupta_nitin)
2. BforBruteForce (beedle, DrearyJoke, Yomapeed)
3. Angeethi_Lovers (AwakeAnay, TimeWarp101, ShivanshJ)

Shoutout to YouKn0wWho for solo-grabbing the $$$3^{rd}$$$ spot in the Finals.

MNNIT Teams:
1. White (aadiitya, lucifer223, Aditya.Rai)
2. MeowTourist (RedDaisy, Invinc3, _NICkk)
3. Crush_Ki_Smile ::uwu:: (Just_a_n00b, krishnaaa2303, Till_my_Death)

Editorial:

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

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

A blue announcing the contest, must be mid

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

Goat's contest is what I read.Hoping to have a good experience. :)

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

Bakri round :0

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

NIT allahabad Contest orz

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

Blue contest, must be easy

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

Registrations have opened. Don't forget to register your team on the contest link well before the contest begins: https://mirror.codeforces.com/contestInvitation/a08a3cd920019089aec1f1492b88bbb3f76a478d

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

First link (external one) doesn't work for me :(

UPD: Now it works.

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

How many problems will be there and, what is the expected difficulty of the round?

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

is there any penalty for a wrong submission

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

How to solve A?

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

    Editorial will be available soon, here is the brief description:

    I am basically counting the number of pairs (i, j) such that the final condition is satisfied. For this I am traversing the tree in depth first order and maintaing an array of hashes from root to current node.

    Now, for each node we can simply do a binary search on this array of hashes to calculate the up_node (the node till which a matching occurs with the prefix of the given string).

    Now, we can use this up_node value to kind of calculate the count of 'j' for each 'i'.

    Now, there is possibility of overcounting, so I am using small to large merging to eliminate it.

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

Definitely harder than div3-ish. Overall the problems were quite good. Was MO's the intended solution for G?

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

Is there a solution for D that does not require 140 lines of code? :) I spent 1 hour debugging it :)

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

    You could observe that for any number $$$n$$$ ending with 9, the xor of (xor of all digits) from $$$[1,n]$$$ is either (1^2^3^4^..^9), or 0.

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

    I solved it using digit dp

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

    For any 10 numbers starting from *0 to *9 the xor of all digits is 1. Use this observation .

    Code

    Ranges smaller than 20 can be handled by brute force to avoid any corner case.

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

Editorial?

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

How can i get the solutions of contest problems??

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

Where can we see more details about final round?

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

Insomnia = Dreamcatcher//>?

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

Due to unavoidable circumstances, the contest is delayed by 15 mins. Sorry for inconvenience.

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

Enjoyed the contest!

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

Please make submissions public

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

Problem B Treely in finals was proposed by an author in HackerEarth for hiring challenges creation, I only tested that problem. I think that is a violation of the rules for a contest.

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

    Seems like a notorious coincidence.

    I assure you all problems that appeared in the sets was originally created and prepared by the problemsetters.

    That aside, how can one even search for a problem that has not even appeared in a contest, and was in testing phase as I gather from your comment.

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

When will the editorial of the finals be released?

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

In Code for Probablity Tree, in small to large merging dfs, shouldn't the first element of pair be depth of upNode instead of upNode itself, taking in consideration the way its being iterated and being break out of loop.