Monte Carlo study of a model of diffusion-controlled reactions