Solution cost in HTML