Size: 304
Comment:
|
Size: 304
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 7: | Line 7: |
'''OUTPUT''': A set ''X'', of ''n'' integers, such that [[latex2($\delta X = L$)]]. | '''OUTPUT''': A set ''X'', of ''n'' integers, such that [[latex2($\Delta X = L$)]]. |
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 X, of n integers, such that latex2($\Delta X = L$).