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

Автор kingofnumbers, 12 лет назад, По-английски

APIO 2013 (Asia-Pacific Informatics Olympiad) will take place in 11 may 2013 , I wish good luck to all participants.

here is the official site: http://apio.comp.nus.edu.sg

here is the competition rules: http://apio.comp.nus.edu.sg/APIORules.pdf

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

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

There is no Online-participation, right?

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

    read about it in "regulations" tab in official website

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

      "Submission of Site Information Tables: 28 February 2013" does it mean that I have no chance to compete, if i just got to know about the competition?

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

        no, I don't think that it means this.

        just a few days ago Syrian delegation registered us to APIO .

        Each delegation registers its own competitors for the APIO.

        If you are a student wishing to compete,

        please contact your local informatics olympiad organisation.

        quote from http://www.apio.olympiad.org/

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

          Probably, I am blinded but I have not found any E-mail or something else I could use to contact APIO organizators.

          You know, I live in a counrty, where nobody cares about online competitions, so I would be really happy if I can participate at least out of competition.

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

            the only way to participate is to contact your local informatics olympiad organisation. and ask them to register you to APIO 2013

            A list of some of these organisations is available here.

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

              Imagine, I am a man from my local informatics olympiad organisation, where do I can write to register my team?

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

              But I suppose that only applies for "officially participating countries", not just some random guys who want to try... it's called Asia-Pacific olympiad, so I doubt they'd just let any country join...

              It's not that much of a catastrophe, anyway. Just try solving the problems when they're published, I guess

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

The contest has finished in all countries. Let's discuss the problems here.

robots: first, make table like this: dst[y][x][dir]:=(grid of final destination of move whose direction is dir from the grid of (y,x))

second, use breadth-first search and get costs like this: cost[id][y][x]:=(the number of moving cost of robot(_id_) to the grid (y,x))

third, build dp[low][up][y][x]:= the number of moving cost of robot id in the range of [low,up) to the grid of (y,x)

building this dp requires Dijsktra ,but using dijkstra is too slow,so I managed to use breadth-first search.

also memory limit exceeded happened to me,so I cut half memory of dp by implementation. O(w*h + w*h*n + w*h*n^3 + w*h*n^2)

toll: too difficult to me :( I only got 16 points by using 2 hours....

tasksauthor: subtask 4 and 6 is difficult(make dijkstra get TLE by using negative edge,not use negative cycle)

I have little time to solve them...

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

    Would you mind sharing the problems' statements ? I cannot find them on the official website of APIO.

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

    I can't understand dp[low][up][y][x] , because the cost to move (x,y) depends on initial position of robot [low,up) , and the initial position of this robot may be anywhere because robot [low,middle) and [middle,up) can met in many positions.

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

      yes,that's right.

      so I first, dp[low][low+1][y][x]:=cost[low][y][x]

      and for each [low,up) dp[low][up][y][x]:=(minimum value of dp[low][mid][y][x]+dp[mid][up][y][x] , low<mid<up) in this range, I start breadth-first search from each states as vertexes(this process corresponds to the move after merging robots)

      note that the dp of range [low,up) must be done after its subgroups is done.

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

        so you doing reverse calculation you start from meet point and search for best initial positions?

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

          ?reverse?

          I need to calculate dp smaller range at first,and larger range after that.

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

            I'm not talking about order of calculating dp states, I'm talking about how to calculate each dp state ? how your BFS work?

            what is complexity for claculating each state?

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

        I don't understand something. hogloid , can you please tell me why a simple recursive DP with memoization will not work here?

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

      I think my solution is too tiring,so there may be simpler solution about robots.

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

    I don't understand something. hogloid, can you please tell me why a simple recursive DP with memoization will not work here?

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

I spend 2 hours on Toll but I could not solve it and I got only 16 points... Can someone explain the solution of Toll?

Anyway, I challenged to hack dijkstra, and I think I discovered the case, but it didn't work...

My solution is following:

Let's define the Unit, which consist of 3 nodes, there is cost-0 edge from first point to second point, cost-enough-big edge from first point to third point, and (-(cost-enough-big)-1)-edge from third point to second point.

We can connect Units previous Unit's second point and current Unit's first point will be the same node.

When we connect them, the order of dijkstra algorithm will be O(2^(number of Units)) I think...

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

T_T,APIO 2013 was a sad trip for me. I mistaken the meanings of problem robots and toll and made them much harder.

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

    You won't believe what happened to me, for problem robot I thought that blocked gird is donated by 'X' capital but it's actually 'x' small, I spent to much time debugging then I give up search where is my bug. after contest I discovered that it's 'x' small

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

Anyone knows, when the results will out?

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

    Where did you find it ?

  • »
    »
    12 лет назад, # ^ |
      Проголосовать: нравится -8 Проголосовать: не нравится

    is this official results?

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

    according to this results,some strong contestants who I think be eligible for this contest (for example,havaliza and YuukaKazami) didn't participate for this contest. ??why??

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

      I talked to YuukaKazami he told me that he didn't participate in APIO 2013

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

      According to a rule made by Chinese delegation,the Chinese IOI 2013 team can't participate in APIO 2013....I also failed to participate because in China it is only one contest that decide who can participate in APIO 2013.....I did badly in that contest...Someone not stronger than me but did well in that contest can participate..So sad.

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

        hmm,so if wjmzbmr or other delegations for IOI had participated,the results would have been different.

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

        Yes,sometimes I think some Chinese rules are really strange.For example,one can't participate in IOI again if he has got a gold medal,and only one contest to decide APIO contestants-which I've mentioned above.

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

          maybe this rules to allow as many as possible people to has a chance to participate in IOI/APIO

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

      I'm reading this blog now. Actually I was eager to participate in APIO this year. But I was on a two weeks trip which interfered APIO. :(

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

Hi, It seems the official website of APIO (http://apio.olympiad.org) is down. Also the statements aren't available in the official site of APIO 2013. So could anybody please upload the statements somewhere?

Edit: I forgot to mention that the link given in comments above doesn't work neither.

Edit2: I didn't notice that the solution file contains the statements as well. I'm sorry.

Thank you very much.

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

    "Edit2: I didn't notice that the solution file contains the statements as well. I'm sorry."

    Thank you for the information. I didn't notice that.