When I encountered this function when I was brushing the question, I didn’t understand the deterrence. I didn’t directly force the conversion, so I recorded it here directly.
stoll()
This function converts a string provided as an argument in a function call to a long long int. It parses str and interprets its contents as integers in the specified base and returns them as a value of type long long int.