fork(122) download
  1. #include <iostream>
  2. #include <string>
  3.  
  4. int main()
  5. {
  6. std::string str = "000000057";
  7. str.erase(0, str.find_first_not_of('0'));
  8. std::cout << str << std::endl;
  9. }
  10.  
Success #stdin #stdout 0s 3472KB
stdin
Standard input is empty
stdout
57