fork(6) download
#include 
#include 

int main() {
    std::cout << std::stoi ("123") << '\n';
    std::cout << std::stoi ("abc") << '\n';
}
Runtime error #stdin #stdout 0s 3060KB
stdin
Standard input is empty
stdout
123