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

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

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://mirror.codeforces.com/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
  • Проголосовать: не нравится

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

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

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

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

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

How to Solve task C?

  • »
    »
    10 лет назад, скрыть # ^ |
    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.

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

SkyDec is the same grade as me :)

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

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

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