fork download
  1. #include <iostream>
  2. #include <string> // std::string
  3. #include <iostream> // std::cout
  4. #include <sstream> // std::stringstream, std::stringbu
  5. using namespace std;
  6.  
  7. int main() {
  8. // your code goes here
  9. std::string strategy(nullptr);
  10. std::cout<<strategy<<std::endl;
  11.  
  12. return 0;
  13. }
Runtime error #stdin #stdout #stderr 0s 15232KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_M_construct null not valid