Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
98092 李谨睿 数组倒序输出 C++ Wrong Answer 0 MS 264 KB 198 2024-11-17 12:30:09

Tests(0/1):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int s=0; cin>>s; int a[s]; for(int i=0;i<=s;i++){ cin>>a[i]; } for(int j=s;j<=0;j--){ cout<<a[j]<<" "; } return 0; }


Run Info:

------Input------
12 109292 291023 393 393 32920201 19 3039 101 393 1 25 243968
------Answer-----
243968 25 1 393 101 3039 19 32920201 393 393 291023 109292
------Your output-----