print maximized solutions and the score