np-hardness.pdf