Which of the following weapons helped continue the stalemate on battlefields during World War I?

a-the tank

b-the submarine

c-the fighter plane

d-the machine gun