Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
8205 | 老师 | 倒序输出一个四位整数 | C++ | Accepted | 100 | 0 MS | 252 KB | 245 | 2020-10-31 17:14:43 |
#include<bits/stdc++.h> using namespace std; int main(){ // int n,g,s,b,q,ans; // cin>>n; // g=n%10; // s=n/10%10; // b=n/100%10; // q=n/1000%10; // cout<<g<<s<<b<<q; char a,b,c,d; cin>>a>>b>>c>>d; cout<<d<<c<<b<<a; return 0; }