A: 70/100 × 100 = 70%. B: 80/100 × 100 = 80%.
B has the greater useful-transfer fraction for the defined system boundary in this model.
Real cost comparison needs energy consumption over a defined time and the applicable energy price; comparable room conditions, delivered heating and control settings also matter.
Electric resistance heating does not lose energy by making it vanish; “elsewhere” depends on the chosen system boundary.