fork(2) download
  1. #include <iostream>
  2. #include <string>
  3.  
  4. int main() {
  5. std::cout << std::stoi ("123") << '\n';
  6. std::cout << std::stoi ("abc") << '\n';
  7. }
Runtime error #stdin #stdout 0s 3060KB
stdin
Standard input is empty
stdout
123