A more family-friendly version of saying, "No shit, Sherlock!" Both expressions are a blunt reply when someone says the obvious.
Soldier: The heavy is a spy!Scout: No duh, Darwin!