提交时间:2019-12-07 14:34:56
运行 ID: 2846
#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; }