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

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

Hello CodeForces Community,

We are happy to invite you to participate in Winter Cup 6.0 Online Mirror Contest. The mirror is scheduled to take place on Codeforces at Mar/03/2024 16:30 (Moscow time) and will last for 5 hours.

Winter Cup is a prestigious annual competitive programming contest held by ACM, INSAT Student Chapter. It unites Tunisia's brightest minds in a thrilling display of skill and innovation. Widely regarded as the nation's best competition, aside from the official ICPC regional contest.

The contest consists of 15 problems created and prepared by Iceberg, OussamaJB and ramizouari with difficulties from div2A to div1D.

We would like to thank :

Enjoy solving !

You can find here links to Winter Cup 4 and Winter Cup 5

UPD : Editorial

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

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

Good Luck in the Contest !

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

Good luck to the participants, I hope you enjoy the problemset !

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

Good Luck Guys. Hope you enjoy the problemset. Give us your feedback later!

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

As a tester I really enjoyed this year problemset! GJ guys!

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

Good luck to the participants ! As a tester I enjoyed the problems!

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

Is there any editorial?

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

I feel no. of participants in round do not justify the problem quality. Every problem had something unique and interesting.

Thanks to the authors really enjoyed the Problemset. Kudos.

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

    CAn you share your approach for problem F find the tree?

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

      This problem requires observation, Try to build a tree with some property and you will get the answer.

      First we have to take care of $$$v_i = i$$$ then we cannot construct tree.

      Now if our $$$ N = 2$$$ we will always have a tree. Given in sample case.

      For $$$ N \gt 2 $$$ if we have all nodes from $$$1, 2, ..., N$$$ in the $$$v$$$ array, tree cannot be formed. Because we cannot have all the nodes which are leaves.

      Now consider if a node is not present in the tree, you will always construct a Star Tree with this node in centre. So answer is Yes.

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

    Thank you for your comment, we were really happy reading your feedback. I also wanted to say that we just released the editorial.

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

Any hints for L2