Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
155581 gqj 数组倒序输出 C++ Accepted 1 MS 268 KB 180 2026-06-08 16:22:43

Tests(1/1):


Code:

#include<iostream> using namespace std; int main(){ int s; cin>>s; int a[s]; for(int i=0;i<=s-1;i++){ cin>>a[i]; }for(int o=s-1;o>=0;o--) cout<<a[o]<<" "; }