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
It's probably because stoi() have thrown an invalid_argument exception.
stoi()
invalid_argument