fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int a,i,j;
  5. scanf("%d",&a);
  6. int data[a];
  7. if(a<=20){
  8. for(i=a;i>0;i--)
  9. {scanf("%d",&data[i]);
  10. printf("%d ",data[i]);
  11. }
  12. }
  13. return 0;
  14. }
  15.  
  16.  
Success #stdin #stdout 0s 5304KB
stdin
3
11 55 7
stdout
11 55 7