Exit with usage() when an invalid problem ID is given.