(15 points)
Assume that subset sum is the only NP-complete problem that
you know.
Show using a reduction that the following problem is NP-hard.
The input
is n positive integers
and
an integer L.
The goal is to determine whether it is possible to
partition the xi's into three different subsets A, B and C,
such that each subset has
same sum,
.
Note each xi must be in exactly one of A, B or C.
NOTE: I will award some partial credit on this problem
for setting up the reduction correctly, even if you can't correctly
construct an appropriate input translation.