| # | User | Rating |
|---|---|---|
| 1 | Benq | 3857 |
| 2 | jiangly | 3810 |
| 3 | maroonrk | 3534 |
| 4 | tourist | 3528 |
| 5 | Kevin114514 | 3510 |
| 6 | turmax | 3411 |
| 7 | Um_nik | 3387 |
| 8 | Radewoosh | 3367 |
| 9 | heuristica | 3322 |
| 10 | strapple | 3317 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 158 |
| 2 | maspy | 150 |
| 3 | Um_nik | 146 |
| 4 | Errichto | 139 |
| 5 | adamant | 136 |
| 6 | maroonrk | 134 |
| 7 | DNR | 133 |
| 8 | Dominater069 | 131 |
| 9 | Proof_by_QED | 130 |
| 9 | AmShZ | 130 |
|
0
Yes, my team, JAW, with wangyenjen, nonamefour0210 and me, will go to World Finals. |
|
0
I have heard of three cases of wrong test data:
I have heard of two cases of wrong intended solutions, too:
|
|
0
Our team loses (to other NTU-tw teams) on penalty with easier problem set but wins on solves with harder problem set. World Finals, Yokohama (Japan) site and NTU-tw internal contests are considered hard. Taipei (Taiwan) site and most other sites is considered easy. Therefore,
|
|
+15
Yangon 2018: the intended solution of F is wrong. Mid-contest, the problem is changed to match the intended solution. Moreover, problem H ask you to compute MD5. Beat that. |
|
+8
|
|
+14
In which sense Asia (especially the PSP subregion) rules are shit? PSP Rule (since 2016-2017 season)For those who don't know: Each site has a site score (according to the number of schools/teams attending the site; formula is published beforehand) and each team can attend at most 2 sites. For each site, remove medal schools, remove Chinese teams and keep only top team for each school. Each remaining team got a priority: The teams with lowest priorities (over all sites) are qualified. (Keep adding teams until there are enough schools.) This is the published list in C. J. Hwang's blog. If multiple teams from one school qualify, coach decide (as only one team from each school can attend World Finals). Factors on Choosing Site
Upcoming ChangesPSP Finals is proposed for 2019: regionals qualifies for this semifinal, and this semifinal qualifies for World Finals. |
|
+5
It's in the first link of this article. |
|
+24
My Solution to Problem A: Let ft(l, y) be the position of nearest store of type t to location l in year y. The problem is equivalent to computing: ![]() Let nt be the number of stores of type t. Clearly, [1, 108] × [1, 108] can be partitioned to ( ≤ 5nt) ft-monochromatic rectangles. Therefore, our problem can be reduce to "given ≤ 5n labeled rectangles; for query (l, y), find the maximum (and minimum) label among all rectangles containing point (l, y)." Obviously there is a Edit: Now I realize that for every rectangle [l1, l2) × [y1, y2) labeled x, we have the property |
|
+24
It took me more than a hundred lines: https://gist.github.com/johnchen902/44d9c5be53154aec4acf685c41c88a81 |
|
+10
Better ask tourist directly for the reason. Anyway, I'd still post the comment as long as most of the world didn't know about this solution. |
|
+105
I have an easy solution to E in O(n2) with a sufficiently small constant, without using NTT, unlike 998244353 suggested. ( We first observe that any valid swap is either:
Let x be the number of (0, 1) and y be the number of (1, 1). Clearly the number of type 1 swaps is x, and the number of type 2 or 3 swaps is y. As type 3 swaps do not interfere with other types, we assume there are y - i of them, multiply the answer by Now we're left with x of (0, 1), i of (1, 1), and only type 1 or 2 swaps. Let g(x, i) be the number of possible swap sequences. Clearly, ![]() Let g(x, i) = (x!)2(i!)f(x, i). Then clearly, ![]() And for the final answer, we must sum over 0 ≤ i ≤ y, i.e. ![]() |
|
0
Of course. |
|
+16
|
|
+80
Judge's solution is incorrect. I challenged someone computing
|
|
On
KAN →
Codeforces Round #397 by Kaspersky Lab and Barcelona Bootcamp (Div. 1 + Div. 2 combined), 10 years ago
+72
I happened to have discussed with darry140 about problem F beforehand, and he came up with an O(NlogNlogC + QlogN) solution, though I never implemented it. http://tioj.infor.org/problems/1905 (Chinese) Unfortunately coding complexity exceeded for me. |
|
0
Same here. !@@#$%^&*()*&^%#@!#%^& |
|
On
LittleMaster_7 →
Online solution for each query for finding maximum frequent value in a range, 10 years ago
+38
That page mentioned an O(n) space and Theorem 1 Let A, B be any multiset. Proof Trivial Now assume we have an array A of size n. Split it into For each query, we have a prefix, a span and a suffix. By Theorem 1, the mode must be the mode of the span, an element of the prefix, or an element of the suffix. For each element in the prefix or the suffix, check if it is more frequent than the current mode. With additional preprocessing and analysis, You can refer to the original page for more detail if you can't figure out yourself. |
|
On
LittleMaster_7 →
Online solution for each query for finding maximum frequent value in a range, 10 years ago
+18
There is an entry on Wikipedia: Range Mode Query. |
|
+105
It's for others to compete for the second place of course. |
|
0
And 245205 too. |
|
+18
But you cannot vote for your comments. |
|
0
Got "unexpected verdict" in hack 245453, 245473 and 245477. |
|
+24
I'd like to explain my solution of F.
And
EDIT: It's hacked. |
|
0
Note that if there are r rows without rook and c columns without rook, there would be exactly r × c cells not under attack. |
|
0
You have to remember the largest Si in each block. For a partial block update, you can just spent For a full block update, you have to answer y = maxi(Si + ix) over i for some x. See http://wcipeg.com/wiki/Convex_hull_trick#The_technique if you don't know how to do that. |
|
0
It is not true that Compiling with Line 99 is Unfortunately even if you fix this bug you will still get TLE. |
|
+18
Didn't actually check your code, but I guess you wrote |
|
+5
Upvoted for yutaka1999! |
|
+11
It was not about floating point issues but unnecessary eps. In your case, your solution failed because of the minus printf("%d\n", (int) ceil(hypot(x1 - x2, y1 - y2) / (2 * r)));By the way, the toughest case I've found requires your eps to be smaller than 141081 99263 99774 -100000 -100000 |
|
+1
I guess I've hacked two people whose eps is larger than 100000 100000 1 -100000 0 which became the case 37 in system test. |
|
On
MikeMirzayanov →
2014-2015 ACM-ICPC, NEERC, Southern Subregional Contest (Online Mirror, ACM-ICPC Rules, Teams Preferred), 12 years ago
0
My virtual participation has ended but I still want to make more submissions. What can I do? |
|
0
Thank you for pointing it out! |
|
+33
In this particular problem sqrt-decomposition means splitting all queries into blocks of sqrt(n), and shrinking the tree to only contain interesting vertices for each block of queries. I finally understand why sqrt-decomposition works in this problem. |
|
+34
I hope these mess won't happen in the Warm up round (the one hosted on Codeforces). I don't like unrated rounds. |
|
+11
A friend of mine (qazwsxedcrfvtg14) only use a file named |
|
0
I prefer using only one loop. I think its more beautiful. The idea is as same as the other people's. |
|
0
I fell in that trick, too. I've thought of the |
|
+3
Oops. My comment did not match my intent. I would write as what OP did. |
|
+12
Your post is good, but I would like to give some suggestions. First, Second, your iterator is not quite standard conforming. Read §24.2 [iterator.requirements] of the C++11 specification or this for detail, and Boost's Counting Iterator for a standard-conforming implementation. To make my third point compile on my machine, you need to make your iterator default-constructable. Third, May fast AC be with you. |
|
+3
I am motivated. I was in a neutral emotion when writing the comment. I just didn't notice my comment looks sad. Anyway, see you next year! |
|
0
This is my rough idea:
This is my actual code: 7273217. The numbers I maintained is put in |
|
+3
As someone who only got silver in this IOI, I agree with you. Though silver may be good enough for some contestants, it is not satisfying for me. I've blamed myself for not practicing enough, and I'll definitely solve more problems to prepare for the next IOI. Also the task Friends, I'd gotten most of the clue needed to solve the problem, but when the time was getting less, I became panic and started writing random codes -- of course that failed and I lost the chance. |
|
0
I thought in 374C - Inna and Dima recursion will cause stack overflow and I used my own stack. However, after the contest I found solutions on the top of standings simply use recursion. I copied those code and tested. Those code did RE on my windows 7, but they didn't in the "Custom test" in Codeforces. Why? This is my input generator: |
|
+2
Yeah, A is easy, but I didn't think carefully. After I saw "pretest past" I moved to the next problem. When the test was about to end, I was hacked and I instantly found the bug, but that was too late... |
|
-16
It's just a test~~~~ Codeforces is a test for me, too~~~~ |
| Name |
|---|


