The PDF version of the problemset can be downloaded here.
To enhance the strongness of the testdata: - the upper bound of N has been raised to 300000. - the upper bound of M has been raised to 500000.
Migrated from old NTUJ.