A printable version(PDF) can be downloaded here.
3 2 2 2 1 1 4 5 7 77
32 4 1 103514887 747707397
Migrated from old NTUJ.
Topcoder SRM