get the inter_contact time sequence of pairs in the dataset