Skip to content

Instantly share code, notes, and snippets.

@jwon0615
Created March 26, 2018 07:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jwon0615/8e2df4e49aca243615f645c6b8aa3800 to your computer and use it in GitHub Desktop.
Save jwon0615/8e2df4e49aca243615f645c6b8aa3800 to your computer and use it in GitHub Desktop.
i,n,a[1001];main(){scanf("%d",&n);for(;i<n;)scanf("%d",&a[i++]);for(i--;i>=0;)printf("%d ",a[i--]);}
@jwon0615
Copy link
Author

i,a[1001];main(n){for(scanf("%d",&n);i<n;)scanf("%d",a+i++);for(i--;i>=0;)printf("%d ",a[i--]);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment