fork download
  1. #include<stdio.h>
  2. int main()
  3. {
  4. int i,n;
  5. scanf("%d",&n);
  6.  
  7. int a[n];
  8. int b[n];
  9.  
  10.  
  11. for(i=0; i<n; i++)
  12. {
  13. scanf("%d",&a[i]);
  14. }
  15.  
  16. for(i=0; i<n; i++)
  17. {
  18.  
  19.  
  20. b[i]=a[i];
  21.  
  22. printf("%d ",b[i]);
  23.  
  24.  
  25.  
  26. }
  27.  
  28.  
  29.  
  30. return 0;
  31. }
  32.  
  33.  
Success #stdin #stdout 0s 5332KB
stdin
Standard input is empty
stdout
Standard output is empty