You would be much more correct stating that A, B and C are of equal mass/density using interconnected parts as an assembly and not solid blocks.
By the way, nice to see that you realized that gravity is a constant.
Who suggest that A, B and C are blocks?
The constant of gravity G is about 0.06673 m3/kg s² but is difficult to establish. Nobody knows its exact value. It seems some people mixed it up with gravity force F (= m a) and gravity acceleration g on the surface of the Earth (the latter not being constant as shown above).
