!SparkleLin;solution;Solution of problem 1017 with greed algorithm.!