daily pastebin goal
42%
SHARE
TWEET

Untitled

a guest Oct 11th, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. const int N = 200000;
  6.  
  7. int main()
  8. {
  9.     int arr[N];
  10.     int i = 0, n = 0;
  11.     while (cin >> arr[i]) {
  12.         i++; n++;
  13.     }
  14.     for (int i = 0; i < n; i++) {
  15.         cout << arr[i] << " ";
  16.     }
  17.     return 0;
  18. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top