When I did my conscript service, we were encouraged to hit target 300m away, and generally people learn to do this quite fast (with a high quality AK-47 copy in this instance). Learning to hit a target with this engagement distance is infinitely easier with rifle than bow, especially if you need to train riflemen en masse.
Descriptive is that english longbowmen had to practice continusously. I would probably hit a target with a rifle two decades after my service without much firing range practice.
Automated rifle has enabled industrialized utilization of civil population as easily trained effective combatants like nothing else.