Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
105705 顾梦琪 数组倒序输出 C++ Wrong Answer 1 MS 264 KB 223 2025-01-14 11:30:50

Tests(0/1):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; int a[n]; for(int i=0;i<n;i++){ cin>>a[i]; } for(int i=n-1;i<=0;i--){ cout<<a[i]<<" "; } 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-----