Hello, codeforces community!
I am happy to invite you to participate in Shorouk Academy 2024 Collegiate Programming Contest that will held at Shorouk Academy. The online training will be on codeforces gyms and will start on Saturday, April 27, 2024 at 11:00 EEST.
The unofficial contest will take place in Codeforces Gym, following standard ICPC rules where individual and team participation are allowed. The contest is unrated and will last for 5 hours, featuring 13 problems.
The problems are written and prepared by only me — Abdelaleem_Ahmed.
Thanks to khepri, SalahSalem, HitmanX97, AbdalrhmanEssam, 3zim, Eslam_Ahmed, Abwbkr, OMAR_TAHA, ipy_, Ahmed_Dyab, Dr.rabi3, Glitch00, A7md_Roshdy, AhmedEhab, --ALPHA-- for solo testing.
Thanks to Shorouk Academy for hosting the onsite contest.
Thanks to Polygon for providing the amazing platform for creating and preparing the problems, and to codeforces for the hosting of the online training.
I hope you enjoy solving the problems. Any feedback will be appreciated.
where is the editorial ?
The editorial !
The editorial !
How to solve C ?
Binary Indexed Tree (2D)
Editorial?
bit2d
Can you explain a little bit, how you applied BIT in it?
you can think of every pair (a_i, b_i) as a point in the coordinate plane. to not think a lot about coordinate compression you can just stick bit2d into it. Talking about question C
Thank's!