fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3. typedef long long ll;
  4. #define pi 3.14159265359
  5. #define el <<"\n"
  6.  
  7. int main() {
  8. ios::sync_with_stdio(false);
  9. cin.tie(nullptr);
  10. cout.tie(nullptr);
  11.  
  12. int x[10];
  13. for(int i =0; i < 10;i++)
  14. cin>>x[i];
  15.  
  16. for(int i = 0; i <10;i++){
  17. cout<< x[i] << " ";
  18. }
  19. return 0;
  20. }
Success #stdin #stdout 0.01s 5320KB
stdin
1 2 3 4 5 6 7 8 9 10
stdout
1 2 3 4 5 6 7 8 9 10