Seol mar théacs é seo: C++ solutions for mathematical problems