| # | 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 | 134 |
| 9 | maroonrk | 133 |
| 10 | qwexd | 130 |
|
+20
This needs more upvotes. Thank you for writing this! |
|
On
Ajax →
Invitation to Participate in ATMOS CodeDash '19 — BITS Pilani Hyderabad Campus, 7 years ago
+3
We will try to release the editorial within this week. |
|
On
Ajax →
Invitation to Participate in ATMOS CodeDash '19 — BITS Pilani Hyderabad Campus, 7 years ago
0
No this contest will be unrated. |
|
On
Ajax →
Invitation to Participate in ATMOS CodeDash '19 — BITS Pilani Hyderabad Campus, 7 years ago
0
It's been updated on the contest landing page now. :) |
|
On
Ajax →
Invitation to Participate in ATMOS CodeDash '19 — BITS Pilani Hyderabad Campus, 7 years ago
0
Thanks for notifying. The issue is now fixed :) |
|
0
My solution for div1C is a little different. I know this is an old problem but I found it really interesting. Let's graph the problem. Let's assume each cyclic shift happens in 1 second. Plot time along the x axis and the absolute difference in positions in both arrays for each value along the y axis. Observe that there can be only two possible values of the slopes of the lines in the entire graph — +1 and -1. The line for a particular value will have slope equal to +1 if the position of the value in that instant's cyclically shifted array b is <= its fixed position in array, otherwise its slope will be -1. Moreover it's easy to notice that for a particular value, its slope value changes a maximum of 2 times in its graph. So we can maintain two range minimum segment trees with lazy propagation range updates for slope value = +1 and -1, each of which store the minimum y-intercept value at each integer instant from x = 0 to n-1. Then for at any given x, the answer is $$$ min \ ( i \ + \ minimum \ y-intercept \ of \ slope \ = \ +1 \ at \ x \ \ = \ i \ ,-i \ + \ minimum \ y-intercept \ of \ slope \ = \ -1 \ at \ x \ = \ i \ ) $$$ Total complexity is O(nlogn) My submission: 57004696 (I've shifted the entire graph by 1 unit to the right to avoid using a segment tree with 0-indexing in my submission) |
|
+25
We spoke to the Amrita officials. It was not an issue. |
|
0
How to solve div2 F/ div1 D? |
|
0
Don't really know how to |
|
+1
Someone make this for Amrita too? :3 |
|
+11
From BITS-Pilani, Hyderabad Campus: hyderabadi_coders: hit023 free_hit c.rakesh27 |
|
+10
Yeah looks pretty similar to majk's solution above. Thanks :) |
|
+1
Thank you :) |
|
+10
How to solve E? |
|
+22
Really enjoyed the problems today. :) |
| Name |
|---|


