I\'m trying to enter a number,n and get the least super lucky number that is more than or equal to n.
Super lucky: it\'s decimal representation contains equal amount of digits
On the first call to superLucky, you pass an empty string to std::stoi. When unable to perform the conversion, stoi throws an exception. That exception is not caught, so uncaught_exception gets called, which in turn calls abort