79496598

Date: 2025-03-09 21:08:47
Score: 2
Natty:
Report link

The answer was merely removing virtual from the functions, e.g.

int run(A& a);   // <---- line 9 above
int run(B& b);   // <---- line 21 above

Thanks everyone for the help.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: James