Thanks for participating in the round, we hope you liked the problems!
Bonus: solve for every $$$k$$$ from $$$1$$$ to $$$n$$$ for $$$n \le 10^5$$$.
Bonus: try to prove the solution without the editorial!
1712C - Очередная задача про сортировку
Bonus: solve for when $$$a_i$$$ can also be negative.
Bonus: solve for every $$$k$$$ from $$$1$$$ to $$$n$$$.
1712E2 - Сумма НОК (сложная версия)
Bonus: solve the problem in $$$\mathcal{O}((n + t) \log n)$$$ or better.
Bonus: solve for $$$n, q \le 10^6$$$.
Don't forget to rate the problems!
PS: Solution codes probably will be added later
PPS: I will post the explanations to the references a bit later, try to guess them if you haven't already!