cuboid is filled with water whose density is 1g/cam.calculate the mass of the cuboid when full of water

mass = density * volume

I assume you know how to find the volume of a cuboid ...
and you don't give the mass of the empty cuboid.