fork download
  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. int n;
  6. cin >> n;
  7. int a[n];
  8. double b = 12.345;
  9. for (auto &x : a)
  10. cin >> x;
  11. for (auto x : a)
  12. cout << x << " ";
  13. cout << b;
  14.  
  15. }
  16.  
Success #stdin #stdout 0s 5320KB
stdin
25  3 7 13 31 37 43 67 73 79 127 151 163 193 211 223 241 283 307 331 349 367 409 421 433 463
stdout
3 7 13 31 37 43 67 73 79 127 151 163 193 211 223 241 283 307 331 349 367 409 421 433 463 12.345