Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
24334 | 老方 | 逆序输出三个数字 | C++ | Accepted | 0 MS | 244 KB | 176 | 2023-08-10 13:13:54 |
#include<bits/stdc++.h> using namespace std; int main(){ int a[3]; for(int i=0;i<3;i++){ cin>>a[i]; } for(int i=2;i>=0;i--){ cout<<a[i]<<' '; } return 0; }