fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int a, b;
  6. while (cin >> a >> b) cout << a << " " << b << "\n";
  7. }
Success #stdin #stdout 0s 3416KB
stdin
1 2 3 4 5 6 l
stdout
1 2
3 4
5 6