NajmuddinSabr's blog

By NajmuddinSabr, history, 9 months ago, In English
  • Vote: I like it
  • +227
  • Vote: I do not like it

»
9 months ago, hide # |
 
Vote: I like it +303 Vote: I do not like it

I guess I can finally reveal that Triple Peaks (second problem) was my task! It was so strange during my stream today — the problems and authors weren't public so I assumed I can't say anything.

  • »
    »
    9 months ago, hide # ^ |
     
    Vote: I like it +11 Vote: I do not like it

    Do you plan on solving it on some livestream?

    • »
      »
      »
      9 months ago, hide # ^ |
       
      Vote: I like it +4 Vote: I do not like it

      Sure, I will discuss the solution during the day 2 stream. I will also check out the other two problems.

  • »
    »
    9 months ago, hide # ^ |
     
    Vote: I like it -15 Vote: I do not like it

    That's awesome! I wonder when will we have a problem written by tourist...

  • »
    »
    9 months ago, hide # ^ |
    Rev. 2  
    Vote: I like it 0 Vote: I do not like it

    It was a very fun two-part problem, thanks! And* crazy that China solved the big output only and not the small ones lol, I didn't expect those to be easier.

    * potential spoiler incoming

»
9 months ago, hide # |
 
Vote: I like it +36 Vote: I do not like it

Is an online mirror possible for it?

»
9 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

How does someone get 0.99 points away? How does the point system work?

  • »
    »
    9 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    On the second question, your score is dependent on how many mythical triples are in your solution, and the score for each subtask can be a decimal

»
9 months ago, hide # |
Rev. 2  
Vote: I like it +63 Vote: I do not like it

Solution Write up for Day 1 (excluding the Output only 30 points for P2)

Note that I have not submitted my solutions anywhere, but I have stress tested locally to a sufficient extent. You can access my code files at Github Repo.

Souvenirs
Triples
World Map

Update : All the above solutions work correctly as tested on oj.uz. I have now updated the github repo to contain submittable codes.

  • »
    »
    9 months ago, hide # ^ |
    Rev. 4  
    Vote: I like it +22 Vote: I do not like it
    Triples Spoiler
  • »
    »
    9 months ago, hide # ^ |
    Rev. 4  
    Vote: I like it +32 Vote: I do not like it

    Here's a visual explanation for my solution to worldmap 100. It seems like some core ideas are the same, but I think my construction is a bit simpler.

    Image
    • »
      »
      »
      9 months ago, hide # ^ |
       
      Vote: I like it +3 Vote: I do not like it

      Could you explain what's going on in the image? This doesn't look simple to me.

      • »
        »
        »
        »
        9 months ago, hide # ^ |
         
        Vote: I like it +26 Vote: I do not like it

        Take the DFS tree of the given graph. We'll try to draw the DFS tree.

        Drawing only the tree is hopefully easy enough following the example of the first image. It can be shown that the height is at most $$$N$$$ and the width is less than $$$2N$$$. Now we need to add back-edges.

        For $$$R = 3$$$ we can make the topmost row of every node three times taller like in the second image. Now we have some spots (marked in black) to add back-edges to descendants. There is always enough space for the back-edges because the width of a node is $$$2d + 1$$$, where $$$d$$$ is the number of its descendants.

        To optimize for $$$R = 2$$$, instead make the topmost row of every node have only height 2, but use "jagged" edges. Now we have $$$(2d + 1 - 3) / 2 = d - 1$$$ spots for back-edges. This is sufficient because no node has a back-edge to its own children.

  • »
    »
    9 months ago, hide # ^ |
    Rev. 9  
    Vote: I like it +41 Vote: I do not like it

    My solution for Triples Part 2 (Output only): link

    Spoiler
  • »
    »
    9 months ago, hide # ^ |
    Rev. 2  
    Vote: I like it +34 Vote: I do not like it

    Same core idea for 100 on WorldMap but was simpler to see for me (tested and got 100):

    2N construction
    • »
      »
      »
      9 months ago, hide # ^ |
      Rev. 3  
      Vote: I like it 0 Vote: I do not like it

      Oh i am so stupid

      I did not think to go "in that order" itself. Yeah this makes sense.

      I was trying fixed orders instead and trying to find valid tree.

  • »
    »
    9 months ago, hide # ^ |
    Rev. 2  
    Vote: I like it +18 Vote: I do not like it
    Comment about World Map 2N
  • »
    »
    8 months ago, hide # ^ |
     
    Vote: I like it +26 Vote: I do not like it

    I have a different solution for the World Map, which I think is worth noting.

    Spoiler
    Construction
»
9 months ago, hide # |
 
Vote: I like it +1 Vote: I do not like it

China looks scary

»
9 months ago, hide # |
 
Vote: I like it -20 Vote: I do not like it

The Day 1 problemset looks weird, I have no idea how to approach P1 and P3. (This time around I didn't even wait for mirrors or even wanted to for that matter, now I'm at a point where OIs are completely out of the question, no need to constraint myself to the competition format). Really cool though.

Difficulty seems really "balanced" in a sense somewhat similar to IOI21 day 1 (with generally low amount of ACs). As for general difficulty benchmark, from statistics, sorted by order:

Partial P3 (at least 72pts) < full P1 < at least 70pts P2 < full P3.

Was completely stumped by P1 despite it supposed to be the "easiest" one to AC. Pretty cool problem (seems like a very messed up, reverse-engineered version of 1951D).

When I was made aware of the mixed format tasks, I totally thought that it was supposed to be following the addition of some small OO subtasks to prevent absolute zeroes from happening....but it turns out that the OO section was actually the last 30pts for the tie-breaker instead. Totally didn't call that. If anything I'd say that this is probably the most innovative (in terms of formating) since, uhhh, 2019's Vision Program (baby's first Machine Building task)? Either way, brand new format is cool, new problem types are appreciated.

(Still can't believe that people haven't thought about such a type of "solving both ways" task before, but ah well. As my brain has been completely fried as of late, I will just proceed to patiently wait for Errichto's explanations tomorrow).

Map is just...cool. Like, wow. Really good problem. Never thought of that. Just...wow. Not "unfathomable peak" level of cool, but still cool regardless.

»
9 months ago, hide # |
 
Vote: I like it +15 Vote: I do not like it

Day 1 tasks here: https://oj.uz/problems/source/ioi2025day1

We don't support the hybrid format, sorry.

»
9 months ago, hide # |
Rev. 3  
Vote: I like it +74 Vote: I do not like it

I uploaded all the tasks to QOJ, with the support of the "Interactive-and-Output-Only" format on P2. You might start a virtual participation if you want )

Personally, I found this innovative task type quite interesting, so I decided to implement this feature on QOJ when uploading the tasks of the Practice contest. I am still not sure the exact behaviors of the implementation of the CMS, and here is what I did:

  • General Idea: The priority of a submitted output file > The priority of the submitted programs
  • First, the judge will compile the contestant's program. If errored, a compilation error message is saved.
  • For each testcase, if there is a corresponding output file submitted by the contestant, the judge will run the checker for that testcase.
  • Otherwise, if the program of the contestant compiled successfully, we run this testcase normally.
  • Otherwise, the verdict of this test will be "Compile Error", and the compilation error message is provided for this testcase.
  • When submitting, contestants can submit both their program and a list of allowed output files (in this case, outputs for subtasks #7–#12). Each test corresponds to a full subtask in this case. (It's technically easy to support subtasks consisting of multiple testcases with allowed output files, though I'm not sure how useful that would be :< )
»
9 months ago, hide # |
 
Vote: I like it +3 Vote: I do not like it

Anyone know the solution specifically for the $$$N \leq 15$$$ subtask for worldmap? How does the small $$$N$$$ help?

  • »
    »
    9 months ago, hide # ^ |
     
    Vote: I like it +11 Vote: I do not like it

    For N <= 15 you have 105 edges, so 2.28 rows per edge. DFS and just write down the edges you visit in order

»
9 months ago, hide # |
Rev. 3  
Vote: I like it -99 Vote: I do not like it

Hengxi Liu is my senior! (Zhenhai Jiaochuan Academy, Ningbo City, Zhejiang Province, China)

刘恒熙是我学长!(中国,浙江省,宁波市,镇海蛟川书院)

This year, as long as there is no "mobile phone murder incident" similar to last year, the Chinese team should be able to win four gold medals.

今年中国队只要不出现类似去年的“手机杀人事件”,应该能拿下四枚金牌。

Also, I'm curious how the Ghana team managed to get two out of four players not scored on Day 1, with a total score of only 3.99 for the four.

另外我很好奇,加纳队是如何做到四名选手 Day1 双爆零,四人总分只有 3.99 的。

»
9 months ago, hide # |
 
Vote: I like it -33 Vote: I do not like it

祝世界上最幸福的 OIERs、小苹果们:

AK IOI

敬礼!

FlowerAccepted

»
9 months ago, hide # |
 
Vote: I like it +9 Vote: I do not like it

Is there a link for day 2?

»
9 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Problem 4 has been murdered at 00:45

»
9 months ago, hide # |
 
Vote: I like it -22 Vote: I do not like it

Authors, you can come out now. Please. Since it appears the tasks are all very balanced and offered a very good score distribution, we won't jump you.

»
9 months ago, hide # |
 
Vote: I like it -50 Vote: I do not like it

Quick braindead initial impressions of Day2 tasks:

Festivals: Another "simple setting" IOI task. No comment

Migration:

No ACs, only partial scores.

Probably another OO

looks inside

Communication problem.

Yes it is very hard. Probably not the same situation as IOI19's Broken Line where a deterministic polynomial solution exists but people don't bother to do that.

Obstacle for a Llama: M*saic, but good. Actual DS task. Yay. Probably in the same vein with those magical JOISC DS problem.

»
9 months ago, hide # |
Rev. 2  
Vote: I like it 0 Vote: I do not like it

Ideas for full score on Migration? We have quite reasonable solutions for up to 21 messages, and some harder ideas for getting down to 12, but 8 seems really crazy

»
9 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Is there any place to submit day 2 problems?

»
9 months ago, hide # |
Rev. 2  
Vote: I like it +60 Vote: I do not like it

We (E869120 and square1001) authored at least one problem in IOI 2025.
We will reveal the details after the update in IOI 2025 Tasks Page (or after closing ceremony).

  • »
    »
    9 months ago, hide # ^ |
     
    Vote: I like it +10 Vote: I do not like it

    Always a pleasure :)

  • »
    »
    9 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    Nice 3 problems from your side , how you came up with Migration problem can you share the story?

  • »
    »
    9 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    Were there any chance Migration was the backup shortlisted task you two had for IOI24?

    • »
      »
      »
      9 months ago, hide # ^ |
      Rev. 2  
      Vote: I like it +11 Vote: I do not like it

      In fact we also submitted Migrations in IOI 2024. It was semi-accepted, which means that it was rejected but ISC said that we should submit it next year because the problem is good. So we decided to submit it again this year, and luckily it was used in IOI 2025 Day 2 :)

      Side note: Some source codes for this problem can be downloaded from the website and I wrote some of them. I think you can find a clue that we also submitted it to IOI 2024...

      • »
        »
        »
        »
        9 months ago, hide # ^ |
         
        Vote: I like it 0 Vote: I do not like it

        whats the intended idea for getting full in migration task? @square1001?

      • »
        »
        »
        »
        9 months ago, hide # ^ |
         
        Vote: I like it -19 Vote: I do not like it

        With everything that has happened, it was definitely for the best that it wasn't shortlisted. Tree/UCS/Message are all unfathomable peaks that should remain in the problemset at all costs....and imagine having to deal with them alongside...this. The poor contestants' brains.....

        Well, congratulations for the 2nd IOI takeover in less than 2 years

  • »
    »
    9 months ago, hide # ^ |
     
    Vote: I like it +50 Vote: I do not like it

    We can finally reveal: we authored 3 out of 6 tasks, worldmap, festival, and migration. Thank you for enjoying our problems!

»
9 months ago, hide # |
Rev. 2  
Vote: I like it +24 Vote: I do not like it

Solution Write up For Day 2 (100 + 79 + 100 points).

I was originally waiting for the problems to be submittable on online judges, but doesn't look like that's happening. Implementations will be added once the problems are submittable.

Festivals
Migration
Obstacles

Update: You can find the implementations at Github Link

  • »
    »
    8 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    For Obstacles, I think I have a pretty clean solution that does not need to consider free segments explicitly though thinking in term of free segments is better for understanding and proofs.

    Solution

    Submission

»
9 months ago, hide # |
 
Vote: I like it +94 Vote: I do not like it

I’m the author of Llama(Obstacles). I know it’s a fairly standard problem, but I hope it was still a good fit for the contest :)

»
9 months ago, hide # |
 
Vote: I like it +26 Vote: I do not like it

Day 2 tasks are now solvable on QOJ, with all translations and onsite scoreboard. You may start virtual contest if you want :)