| 1 |
#include <iostream> |
| 2 |
#include <algorithm> |
| 3 |
#include <iterator> |
| 4 |
using namespace std; |
| 5 |
|
| 6 |
int main() |
| 7 |
{ |
| 8 |
istreambuf_iterator<char> in(cin.rdbuf()); |
| 9 |
istreambuf_iterator<char> eof; |
| 10 |
ostreambuf_iterator<char> out(cout.rdbuf()); |
| 11 |
|
| 12 |
copy(in, eof, out); |
| 13 |
} |