Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
If we were picky about splitting EVs instead of just straight up maxing them, do you get the appropriate EV gains if you kill, say, 3/5 of the enemies in the horde and then run from battle?