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

Автор NajmuddinSabr, история, 14 месяцев назад, По-английски
  • Проголосовать: нравится
  • +227
  • Проголосовать: не нравится

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

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.

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

Is an online mirror possible for it?

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

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

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

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.

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

    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
    • »
      »
      »
      14 месяцев назад, скрыть # ^ |
       
      Проголосовать: нравится +3 Проголосовать: не нравится

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

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

        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.

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

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

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

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

    2N construction
  • »
    »
    14 месяцев назад, скрыть # ^ |
    Rev. 2  
    Проголосовать: нравится +18 Проголосовать: не нравится
    Comment about World Map 2N
  • »
    »
    14 месяцев назад, скрыть # ^ |
     
    Проголосовать: нравится +26 Проголосовать: не нравится

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

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

China looks scary

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

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

We don't support the hybrid format, sorry.

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

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 :< )
»
14 месяцев назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

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

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

Is there a link for day 2?

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

Problem 4 has been murdered at 00:45

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

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.

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

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.

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

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

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

Is there any place to submit day 2 problems?

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

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).

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

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

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

    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

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

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 :)

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

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