fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. const int MAX_LENGTH = 100;
  5.  
  6. int main() {
  7. int n, v[MAX_LENGTH + 1];
  8. cin >> n;
  9. for (int i = 1; i <= n; ++i) {
  10. cin >> v[i];
  11. cout << v[i] <<" ";
  12. }
  13.  
  14. return 0;
  15. }
Success #stdin #stdout 0.01s 5312KB
stdin
5
1025 75439300 987347 324 123
stdout
1025 75439300 987347 324 123