If the charge enclosed by conical flask than the flux is
But the charge is placed at the mouth of flask so if we draw another imaginary flask over it the charge is surrounded by two flasks now so the charge through the flask now half of the previous value (shared by two flask) So
The maximum length of string that can be fit into cube is
which is equal to the length of body diagonal So the charge inside the cube is
So flux