qnli question: What was one of the important roles submarine played in the war? sentence: and, coincidentally,[clarification needed] at Midway in June 1942), when they gave accurate and timely warning of the approach of the Japanese fleet.