If you take the distance below sea level as a negative number, and the distance above sea level as a positive number. The difference in the depth of the submarine and the altitude of the helicopter is given by the difference between the distance above and below sea level, just as follow:
570 - (-312) = 882
Hence, the answer is 882 feet