Okay so you want to see which is stronger;
An Adamant Nature, 252 Attack, Mega Mawile's Sucker Punch; or
An Adamant Nature, 252 Attack, Mega Banette's Sucker Punch.
Both with 31 IV's in Attack?
Well Mega Mawile's Base Attack is 105.
With 31 IV's in Attack, 252 EV's invested in Attack and an Attack increasing Nature (in this case Adamant), it's maximum Attack Stat is 339.
Then of course it has Huge Power which would double it's Attack Stat to 678!
Mega Banette's Base Attack Stat is 165!
With 31 IV's in Attack, 252 EV's invested in Attack and an Attack increasing Nature (in this case Adamant), it's maximum Attack Stat is 471.
The clear winner is obvious here but I've decided to do some damage calculations using a Pokémon that is Neutral (1x Super Effective) to Dark... Snorlax.
Also neither gets STAB since neither are Dark type.
Mega Mawile:
>252+ Atk Huge Power Mega Mawile Sucker Punch vs. 252 HP / 0 Def Snorlax: 234-276 (44.6 - 52.6%) -- 23.4% chance to 2HKO
(234, 237, 240, 242, 245, 248, 251, 253, 256, 259, 262, 264, 267, 270, 273, 276)
Mega Banette:
>252+ Atk Mega Banette Sucker Punch vs. 252 HP / 0 Def Snorlax: 163-192 (31.1 - 36.6%) -- 68.5% chance to 3HKO
(163, 165, 167, 168, 170, 172, 174, 176, 178, 180, 182, 184, 186, 188, 190, 192)
TL;DR:
Mega Mawile.