| # | User | Rating |
|---|---|---|
| 1 | Benq | 3676 |
| 2 | jiangly | 3670 |
| 3 | Kevin114514 | 3657 |
| 4 | maroonrk | 3355 |
| 5 | Um_nik | 3353 |
| 6 | squareOf105 | 3346 |
| 7 | tourist | 3343 |
| 8 | strapple | 3324 |
| 9 | heuristica | 3322 |
| 10 | jiangbowen | 3291 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 158 |
| 2 | nik_exists | 150 |
| 2 | maspy | 150 |
| 4 | AmShZ | 143 |
| 5 | Um_nik | 141 |
| 6 | Errichto | 139 |
| 7 | adamant | 137 |
| 8 | BledDest | 133 |
| 8 | maroonrk | 133 |
| 10 | qwexd | 130 |
|
+31
gaurav172, vivace_jr, shaanknight, Asia West, India, IIIT Hyderabad |
|
+13
Topcoder_Updates, why have I not qualified? I finished 12th in the qualification round. (handle: anurudhp). I am a student, and I am located in India. I had clicked all the random registration links on the blog and registered. I also don't see a few more users who satisfy all the criteria, like kal013 and shivensinha4. |
|
+6
Let $$$N = 2^n$$$ and $$$g_j = \sum_{x | f_x = j} (-1)^{\text{popcnt}(x)}$$$. This gives us $$$b_i = \sum_j \frac{g_j j!}{i! (j - i)!}$$$. Using sequences $$$A_k = g_k k!$$$ and $$$B_k = \frac{1}{(N - k)!}$$$, we have $$$(A \star B)_{N+i} = \sum_j A_j B_{N + i - j} = \sum_j g_j j! \frac{1}{(j - i)!} = i! b_i$$$ (Intuitively, $$$B' = \sum_j \frac{1}{j!} x^{-j}$$$ multiplied by $$$x^N$$$ gives the polynomial $$$B$$$.) |
|
+39
(QIF in OBH) Don't know if this adds anything new, but here is my intuition for the mistake in computing articulation nodes: $$$low_u$$$ is the lowest node (by discovery time $$$disc$$$) that you can reach if you take one back-edge from $$$u$$$. But using $$$low_u \leftarrow \min(low_u, low_v)$$$, where $$$v$$$ is an ancestor of $$$u$$$, you effectively compute the lowest node you can reach taking any number of back-edges. And you may end up not detecting an articulation node, because you skip over it with multiple jumps. So for the problem, you need to construct a graph where the articulation node $$$u$$$ has a back-edge (to some ancestor), and it has a descendent which has a back-edge to $$$u$$$. The mistake itself is somewhat similar in spirit to updating knapsack in forward and reverse. (1) computes the number of ways to form a sum $$$s$$$ using $$$x$$$ at most once, and (2) computes the ways to form $$$s$$$ using $$$x$$$ any number of times. The same way we fix the knapsack DP by reversing iteration order, we can fix the DFS as: Computes $$$low$$$ in post-order instead of live updating in-order. Additionally, we can get rid of $$$disc$$$ here. |
|
+46
Seconded. Fun problems and a unique contest type, definitely worth trying! |
|
+15
How to solve F? |
|
0
That makes sense. Thanks again for the wonderful blog! |
|
0
Ah nice, that makes sense now, thank you! One more thing, how do we know that $$$P_4$$$ is sufficient? i.e. if multiple points have the same $$$P_4$$$ value, can we map any permutation of them to the other set, and get a valid solution? I guess you can use some symmetry argument here, but I'm unable to find any. |
|
0
How is $$$P_2$$$ same for all points? Is it because the points are generated uniformly at random? |
|
+18
Very nice posts! Looking forward to part 4! |
|
+3
Ah okay, turns out I also need to disable buffering for I guess without this, the flushing is environment dependent? Not sure. |
|
+3
IIUC the interact function is fully lazy, it forces and prints one character at a time. And this force usually forces the computation to happen. So here, tracing back, it forces (I might be wrong about my assumptions of which functions are lazy though.) |
|
0
I don't understand what we can preprocess, and avoid |
|
0
Could you elaborate on this? |
|
+46
Really fun contest! The choice of bugs was quite nice and very well disguised. Also bonus points for the easter eggs in the problem statements (like typo/"bug" in IIIT) :P |
|
0
How to solve I? |
|
+13
How to solve L? |
|
+17
Case 57 is So $$$r - l + 1 = M$$$ and $$$n m = 2 (M - 1)$$$ |
|
+45
What is IRS? |
|
+8
How to solve I (Interesting Game) and K (Knowledge-Oriented Problem)? |
|
0
For multiplication in the finite field $$$\mathbb{F}_{2^q}$$$, we use an irreducible polynomial of degree $$$q$$$. I can just brute force through all polynomials, and substitute all values to check for roots (and effectively reducibility), and this takes $$$O(2^{2q})$$$ to find one. In this case it is just $$$O(n)$$$, which fits in the TL. Is there a faster method for doing this? Or is there a different way to define multiplication efficiently? |
|
+1
Could you elaborate on this? |
|
+19
India IIIT Hyderabad: codelegend, Superty, devanshg27 |
|
+73
When will the problems be available in practice mode? |
|
0
You should rotate it about its circumcenter, and the angle will be the angle subtended by AB (or BC) at the center. |
|
On
Baba →
CodeCraft-17 and Codeforces Round #391 (Div. 1 + Div. 2, combined) Announcement, 10 years ago
0
Did you run the code with test case 57 as input (on the codechef IDE)? |
| Name |
|---|


