What was a failure of the state regarding security that contributed to China's problems in the nineteenth century?
a) Weak military
b) Unstable economy
c) Lack of education
d) Poor infrastructure