#include<bits/stdc++.h> using namespace std; int a[1000]; int main() { int n; cin >> n; for(int i=1;i<=n;i++){ cin >> a[i]; } for(int i=n;i>1;i--){ cout << a[i] << " "; } cout << a[1] << endl; return 0; }
註冊一個 CZOJ 通用賬戶,您就可以在我們提供的所有線上評測服務上提交程式碼、參與討論。
使用您的 CZOJ 通用賬戶