I think I understand. From height 0 figure out what gun angle gives the largest distance and then calculate the area of the circle with that distance as radius.
In the JEE, you generally assume the range to be the distance the projectile covers before reaching the launch height again, unless specified otherwise.