(I'm too lazy to write a post so I copied last year's, thanks feeder1 and pooty)
Hello, Codeforces community!
We are happy to invite you to participate in National University of Singapore (NUS) CS3233 Final Team Contest 2025 Mirror on 14.04.2025 12:15 (Московское время). CS3233 is a course offered by NUS to prepare students in competitive problem solving.
The contest is unofficial and will be held in Codeforces Gym. Standard ICPC rules (Unrated, ICPC Rules, Teams Preferred) apply. The contest is unrated. Note the unusual starting time.
The problems are written and prepared by user202729, rama_pang, feeder1, lovemathboy, tzaph_ and huajun.
We would also like to thank:
- Prof. Steven Halim for coordinating and teaching the CS3233 course;
- benson1029 as teaching assistant;
- yuto1115, Pyqe, Kinon, ArvinCiu, limanjun, caan_do, thanatos, mycho for testing the contest;
- errorgorn for existing;
- the Kattis team for the platform used in the CS3233 course and in the official contest;
- Codeforces Headquarters for letting us announce on the main page; and finally
- MikeMirzayanov for the amazing Codeforces and Polygon platform!
The contest will last for 5 hours and consist of 13 problems. While it is preferred to participate in a team, individual participation is also allowed.
The problems themselves may be quite standard as they are targeted toward those who have just learned competitive problem solving. However, we have also included a few challenging problems for stronger teams, such as ex-IOI or ICPC participants taking part in the course as well. So, the participants can expect a good mix of problems of varying difficulty levels, that we hope can be educational!
We hope you will enjoy and have fun in the contest. Good luck!
UPD: Thank you for your participation, sorry for the issues with the long queue. Editorial has been uploaded here









Can I participate in the mirror instead :)
baozii,baozii,We love you
baozii!!!
Please enable test data and detailed verdict: I still have no clues why my submission to E is incorrect (already made reasonable attempts of validating outputs).
Update: Thanks to communications from the problemsetters, my solution on E is incorrect because there is a (implied but not very clear) requirement of you cannot have well connected cycle of pipes but otherwise do not extract any oil. This gave a not-very-helpful message of "Unrecognized or misaligned character"
The contest has been published to gym. You should be able to view it through coach mode
Why my code for problem k: Kanto To Johto, giving TLE
Without this, it would explore the same vertices multiple times.