| # | 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 | 142 |
| 5 | Errichto | 139 |
| 6 | adamant | 137 |
| 7 | AmShZ | 135 |
| 8 | BledDest | 132 |
| 8 | maroonrk | 132 |
| 10 | qwexd | 129 |
|
0
You just have to find optimal 'x' for all the pairs of adjacent elements of the sorted array of 'a', whichever pair gives max (ai^x & aj^x) is the ans. |
|
0
It's all fun and games unless you are <1400 |
|
0
Ohh got it, thanks. |
|
0
yes |
|
0
so what was the edge case for C? |
|
+1
Did the same but getting wrong on test 3. |
|
0
At first, 6->0 and 8->1. So the monster with health 6 will be dead and there is only 1 monster left with health 1 and power 8. Now this monster will reduce k=7 to 0. Hence genos cannot kill the last monster and the answer is NO. |
|
0
It'll be back after removing cheaters. |
|
0
Didn't we need sieve in G? |
|
+1
Entire contest I was searching for some efficient solution of C, at last tried brute force and it worked. Do the brute force really for C or am I gonna get FST? |
|
0
Approx 50 people solved F. Making this round unrated is just unfair for almost everyone who participated in this contest. This actually seems to be a punishment for participants rather than author. Can't we just remove the problem F, this way it will have much lesser impact. |
|
+1
Took me a long time to debug, though got the approach early. |
|
+3
Sort the array and for each i maintain a window such that all the elements in that window should be less than (a[i]+n), so number of elements outside that window is the answer for that i. Now minimize ans for all i's. |
| Name |
|---|


