Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

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

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

CODE FESTIVAL 2016 Qualification Round B will be held on Monday (time). The writer is DEGwer.

Contest Link

Contest Announcement

This is one of the three qualification rounds of CODE FESTIVAL. Top 5 foreign students of this round will qualify. If you are eligible for the onsite contest, please don't forget to fill the form at https://krs.bz/rhd-itm/m/code_fes_2016. Please check the detail of the tournament at http://codeforces.net/blog/entry/46647.

The contest duration is 2 hours, and there will be 5 problems. The first 4 problems are mainly used for choosing domestic students and much easier than other tournament competitions. However, we added one more problem and we hope this is interesting enough for choosing top 5 qualifiers. (Anyway, most probably the qualifiers will be determined by the speed of solving all problems). Note that there is no time penalty for incorrect submissions. The time penalty is MAX, not SUM.

The point values are 100 — 200 — 500 — 700 — 1100. If you are unfamiliar with AtCoder System, 2X-point problem in AtCoder is as hard as TopCoder's d1 X-point problem.

Let's discuss problems after the contest.

UPD: Among the top 5 foreign participants, Arterm has already qualified from round A, and matthew99, Reyna, SkyDec are too young. Congratulations to Merkurev, polequoll, fqw, sevenkplus, and Zlobober! Note that this information is unofficial, and it is possible that some of them don't want to participate in finals (or ineligible).

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

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

Excuse me, does author of E's statements know such language as English?

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

    Was it unclear? All English statements of AtCoder Problems are written by the same person.

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

      "Output the sequence of the string Sk". I would say "sequence" is kinda unusual word for "position". Moreover I also had hard time understanding "when the literal sequence is pi, 1 < pi, 2 < … < pi, 26", which alone is not that very bad, but connected with previous "sequence" issue made guessing what is going on from sample in/out an only option for me.

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

      On this time, the English problem statement writer is not the usual person, but the statement was once checked by him.

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

    How many guys like me read pE as "who is rank k" instead of "what's the rank of s_k"?

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

      Same here ._./

      But, whether "who is rank k" is solvable with same constraint?

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

      Samples rule it out, don't they? I believe samples and constraints are essential part of statement (but I don't like ambiguous legends too).

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

        I almost never look at samples if I think I got the statement correctly (which is often a mistake, but that explains such behavior), however here I have no idea how can could have thought he understands statement after reading it, so I also don't get how it was possible to think that one understands statement, but getting it wrong.

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

      I even wrote entire solution for wrong problem. It was quite unpleasant surprise when I agreed with my program on sample tests, but provided outputs didn't.

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

        I did too :(

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

        Me too. It seems that I didn't qualify for the finals just because of that. The code is almost the same, but I spent some time to understand what's wrong.

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

    I rechecked the statement, and it was indeed very difficult to understand. I'm sorry about that. However, since we don't want to disappoint the top 5 people in this contest, we will choose the qualifiers based on the results of this contest (and no rematch).

    I think this trouble was caused by the change of translation process. Usually evima translates the statements from scratch, and when he translates he understands the statement and then reconstructs it. However, in Code Festival rounds the problems are first translated by professional translaters (who has probably no experience in competitive programming / mathematical statements) and evima proofreads it. I feel the translation was too direct and also not suitable for competitive programmers (for example, it seems one of the meanings of the word "sequence" is "index", but for us "sequence" just means "array"). We are discussing if we can change the process of the translation from next round.

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

Auto comment: topic has been updated by rng_58 (previous revision, new revision, compare).

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

How to Solve task C?

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

    Let at some point you have used R rows and C columns costs. Now pick the minimum of all the costs that you have and if it's a row cost, answer will increase by : (cols + 1 — C) * thisCost; and R++. Similarly for a column cost.

            sort(vals.begin(), vals.end());
    	matSize[0]++;
    	matSize[1]++;
    	ll ans = 0;
    	fl(i,0,vals.SZ())
    	{
    		pair<ll, ll> p = vals[i];
    		ans += (p.first * (matSize[p.second ^ 1] - done[p.second ^ 1]) );
    		done[p.second]++;
    	}
    

    Proof of this solution is trivial as you would try to use the minimum cost to connect maximum nodes.

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

SkyDec is the same grade as me :)

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

Sorry,I don't want to participate in finals. And I am the same grade as matthew99,so I am ineligible.

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

I have just started competing at atcoder and like everything very much except for one thing: testing results are only shown after whole testing is completed. It's really annoying if you for example have wa1 because testing is not very fast. Would you please fix it somehow?

Really like type of problems, exponential system of scoring and acm-style system. Everything makes competition results more exact and I like it!)

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

    I've felt the same thing for years and asked officials to fix it several times.

    It seems that they know the matter is urgent but they're too busy (it seems they don't have many engineers and there're a lot of contests these months) to start on the modification.