The PDF version of this problemset can be downloaded here.
1 1 1000000 200 100 0 2 1 1000000 200 100 0 2 1 1 2 1 1000000 200 100 2 2 1 0 0 0 0
30 29 14
Migrated from old NTUJ.
Pacific Northwest Region Programming Contest 2012