A police car crashed at South Dakota and Myrtle avenues NE as it was responding to a triple shooting near Barnard Hill Park on Thursday. (Bill O'Leary/The Washington Post)

Two male youths and a man were shot Thursday night on a residential street in Northeast Washington, and two police officers speeding to the scene were injured in a crash with another car, authorities said.

In a separate incident in Southeast Washington, a 3-year-old girl was struck in her leg by a stray bullet as she played on the balcony of an apartment. The girl was taken to a hospital with injuries that were not believed to be life-threatening, D.C. police said.

The shootings in Northeast occurred about 6:40 p.m. at 22nd and Taylor streets, near Barnard Hill Park and the Maryland line. The conditions of the three victims could not be learned late Thursday, but police said all were expected to survive.

The neighborhood is lined with small single-family homes. One woman out walking her dog said, “I don’t consider this area unsafe at all.”

The accident involving the responding police occurred at South Dakota and Myrtle avenues, about eight blocks from the shooting.

One officer suffered minor injuries. The other had been trapped in the wreckage, but a police spokesman said that officer’s injuries did not appear to be life-threatening.

No one in the other car was injured, police said.

In Southeast, officers responded to a report of shots fired at the Forest Ridge apartment complex in the 2400 block of Elvans Road about 6:15 p.m. and found the 3-year-old on a third-floor balcony, said Capt. Byron Hope of the 7th Police District.

Investigators do not think that the girl or the apartment where she had been playing were targets in the shooting. Police were trying to determine what prompted the gunfire, Hope said.