Yes, so long as they gained experience points from the defeated Pokémon, in this case three Attack EVs, those EVs will be given out to each Pokemon. None will gain less, none will gain more, unless of course the EVs in the stat are already be maxed out, making those EVs pretty much pointless.