提交时间:2019-12-07 14:20:14
运行 ID: 2798
#include <iostream> using namespace std; int main() { int n, a[100]; cin >> n; for (int i=0; i<n; i++) cin >> a[i]; for (int i=n-1; i>=0; i--) cout << a[i] << " "; return 0; }