Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
112134 李明秦 逆序输出 C++ Accepted 1 MS 204 KB 265 2025-03-08 14:43:53

Tests(10/10):


Code:

#include<stdio.h> using namespace std; int main(){ int a,b[1000]; scanf("%d",&a); for(int i=0;i<a;i++){ scanf("%d",&b[i]); } for(int i=a-1;i>=0;i--){ printf("%d ",b[i]); } return 0; }