Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
50161 | jiabokai | 【例52.2】 序列倒置 | C++ | No Test Data | 0 MS | 0 KB | 178 | 2024-08-12 19:22:48 |
#include<iostream> using namespace std; int main(){ int a[10005],j=0; while(cin>>a[j]){ j++; } for(int i=j-1;i>=0;i--){ cout<<a[i]; } }