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

Автор Motarack, история, 5 лет назад, По-английски

Hello,

The problem set of The 2019 University of Jordan Collegiate Programming Contest will be available at the gym Jul/04/2019 17:00 (Moscow time).

The problem set consists mostly of div. 3 problems with the exception of few problems, as the majority of teams were new to ICPC contests with the exception of few div. 1 and div. 2 teams, we recommend this contest mostly for div. 3 participants, but div. 2 participants might find some problems interesting.

The problem set was prepared by Jester, Dark, Onflow and Motarack.

Thanks to MikeMirzayanov for the usual stuff, and Kilani for help with judging.

Good luck.

Contest link.

UPD1: Editorial link.

UPD2: Forgot to thank Namco Tales Studio for one of the ideas of the problems.

UPD3: There was a flow in the solution of problem L, it's now fixed, all AC practice solutions were rejudged, sorry for the inconvenience.

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

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

reminder, the contest starts in around 30 minutes.

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

Will there be any editorials? Interesting problemset by the way!

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

G and E are very interesting problems. Do you have any ideas for G? I'm afraid what I came up with will not fit in TL. Hear a lot of operation turns out.

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

How to solve J? I have gotten WA on test case 86 several times.

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

In problem F, Arena Olympics, how to check if two fighters can see each other in O(1) ?

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

    Draw a line between them, the angle between them can be calculated by atan((y2-y1)/(x2-x1))

    Then check if this angle lies between it's field of vision.

    Create a adjacency list using this information. If there is a no cycle in the graph, them the order will be reverse of topological sort.

    Is this correct for F? I was getting WA on 4.

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

can anyone tell some approach for problem L

what was test case 6 indeed??

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

    Note that this test case might give hints to the solution.

    Spoiler