The Midnight Code Cup qualification round has ended. Thanks to all participants for giving it your best!
Final rankings are here: https://ranker.codeforces.com/ranklist/602915 Problem statements and materials are available here.
As we only accepted outputs for scoring, we’d love to learn about your solution approaches – please share in the comments!
This round would not have been possible without: MikeMirzayanov and the Codeforces team — thanks for your support and the new scoreboard system!
Problem setters for this round: Aksenov239, Gassa, qwerty787788, cdkrot, MaxBuzz, pvs, Solenoid555
Testers and support: winger, isaf27, PavelKunyavskiy, naagi, tourist, NALP, timav, Taube, noxwell, nsychev
Our amazing sponsors: Recraft.AI, JetBrains, Neon, Pinely and our newest sponsors — Jane Street and Amazon!
Thank you all!




