head to head
Neither is simply harder - they are hard in different places. Grand Theft Auto V demands more reads; Mega Man 5 demands more execution.

Execution · Practiced Mastery
Sandbox crime playground spanning shooting, driving, and a persistent online economy.

Execution · Practiced Mastery
Pattern memorisation and precise platforming with a solvable boss-order route.
Grand Theft Auto V leans Execution (Practiced Mastery); Mega Man 5 leans Execution (Practiced Mastery).
Mega Man 5 leans clearly harder on execution.
Grand Theft Auto V
Driving and shooting demand decent inputs.
Mega Man 5
Precise jumps and buster timing through gauntlet stages
Grand Theft Auto V leans clearly harder on reads.
Grand Theft Auto V
Online PvP exists but mostly gear/positioning, not modeling.
Mega Man 5
Robot Masters cycle fixed attack patterns
Grand Theft Auto V leans clearly harder on variance.
Grand Theft Auto V
Some mission and lobby randomness.
Mega Man 5
Every stage and boss is identical each attempt
Mega Man 5 leans clearly harder on optimization.
Grand Theft Auto V
Heists, money loops, builds learnable.
Mega Man 5
Weapon-order routing and pattern memorisation solve the game
A matching score does not mean a matching test. Two games can both sit at 10 on execution and demand completely different things of you - which is why the reasoning above matters more than the number beside it.