fork download
  1. #include <iostream>
  2. #include <algorithm>
  3. #include <iterator>
  4. using namespace std;
  5.  
  6. int main() {
  7. cin >> std::noskipws;
  8. std::copy(
  9. std::istream_iterator<char>(std::cin)
  10. , std::istream_iterator<char>()
  11. , std::ostream_iterator<char>(std::cout, "")
  12. );
  13. return 0;
  14. }
Success #stdin #stdout 0s 3300KB
stdin
quick
brown
fox
jumps
over the lazy dog
stdout
quick
brown
fox
jumps
over the lazy dog