detect failure after the first checkpoint,put vector into array first when pup if...