Area to be painted = Total surface area of the cuboid − Area of the floor
=2(lb+bh+lh)−lb (Since the floor won't be painted)
=2(20×15+15×6+20×6)−20×15
=2(300+90+120)−300
=1040−300
=720 m2
Cost of painting = Cost per m2 × Area in m2
=78×720
=Rs. 56160