The PDF version of the problem statement can be downloaded here.
2 2 0 1 0
4
5 3 2 0 0 1 1 2 4 0 3 4 1 2
17
NCPC 2026 Final Problem D