Size: 225
Comment:
|
← Revision 8 as of 2020-01-23 23:21:17 ⇥
Size: 293
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 5: | Line 5: |
'''INPUT''': The multiset of pairwise distances ''L'', containing [[latex2($\binom{n}{2})$]] | '''INPUT''': The multiset of pairwise distances ''L'', containing nCr(n,2) integers. '''OUTPUT''': A set |
Partial Digest Problem
Given all pairwise distances between points on a line, reconstruct the positions of those points.
INPUT: The multiset of pairwise distances L, containing nCr(n,2) integers.
OUTPUT: A set