| # | User | Rating |
|---|---|---|
| 1 | jiangly | 3810 |
| 2 | Benq | 3676 |
| 3 | Kevin114514 | 3655 |
| 4 | maroonrk | 3463 |
| 5 | strapple | 3447 |
| 6 | Um_nik | 3387 |
| 7 | heuristica | 3322 |
| 8 | turmax | 3317 |
| 9 | tourist | 3307 |
| 10 | jiangbowen | 3291 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 156 |
| 2 | nik_exists | 150 |
| 2 | maspy | 150 |
| 4 | Um_nik | 143 |
| 5 | Errichto | 139 |
| 6 | adamant | 137 |
| 7 | AmShZ | 135 |
| 8 | maroonrk | 133 |
| 9 | BledDest | 132 |
| 10 | qwexd | 129 |
|
0
for any (u,v,w) there exist only 1 vertex x such x in all 3 simple path's (u,v),(u,w),(v,w). basically you can proof that p(u,v)*p(u,w)*p(v,w)=n²*x where n natural. So (u,v,w) good if x = k². So for every such an x, you need to calc amount of that triples. That's 0 if x has one son, y1*y2 if x has 2 sons, (s(y)²-s(y²))/2+(s(y)³-3s(y²)s(y)+2s(y³))/6 if x has >=3 sons, where y is arr of number of descendants of the sons, s(yⁿ) = sum(yiⁿ) for every i. |
|
0
why does number of G solvers decreases?... |
|
+3
the fact that I enjoyed C2 so much even while I failed to send it on time proofs it's very interesting problem anyway |
|
0
I honestly wanna know it too. I don't though that pure interest is sexism or smthlth |
| Name |
|---|


