The PDF version of this problemset can be downloaded here.
2 16 15 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 16 4 3 1 2 1 3 1 4
Case 1: 3 2 2 5 2 7 4 Case 2: 0
Migrated from old NTUJ.
ACM-ICPC Asia Phuket Regional Programming Contest 2013