Project Euler 348 - Sum of a square and a cube

Official link: https://projecteuler.net/problem=348