| # | 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 | nik_exists | 132 |
| 9 | Dominater069 | 131 |
| 10 | Proof_by_QED | 130 |
|
On
majk →
The Lyft Level 5 Challenge 2018 Elimination Round (Div. 1 + Div. 2) Editorial, 8 years ago
0
Hello all, my code gives correct answer for CASE 4 (Problem D) in local machine but here it fails. Can someone help me with this. Link for submission: code |
|
0
I guess pretest 5 checks integer overflow. |
|
0
still waiting :p |
|
0
You can add the problem you solved in contest in practice problems :p |
|
0
Hi, can you please explain why I can understand that E[ci] = E[v] + 1 but I could not understand the other part. Why are we taking the summation of number of vertices in subtree times the probability that Ci comes earlier than Cj. According to E[x] formula, shouldnt we do: E[c] = E[v] + 1 + (1/n!)*sigma(delay caused by i-th permutaion), where v is parent of c having n children. |
|
+3
Oh yes, thanks. Did not notice that :p |
|
+6
Why is the number of unique substrings after concatenating two strings is 100 +9? Lets say two strings are there S1 and S2 of length 100. Both of them will have not more than 100 unique substrings of length 10. It is also possible that the 100 unique subtrings of S1 are not present in S2. So when we concatenate them we get a total of 100 (from S1) + 100(from S2) + 9(from border of two strings) unique substrings. So if there are 100 such strings then the number of unique substrings can be: 100*100 + 9*100. |
|
0
The wait is finally over :p |
|
+12
Never waited so long for the editorials. |
|
0
Can someone please explain Leha and function — Adiv1 ? |
| Name |
|---|


