Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
49186 | 杨中琦 | 倒序输出一个四位整数 | C++ | Accepted | 100 | 0 MS | 248 KB | 151 | 2022-07-18 08:17:27 |
#include<bits/stdc++.h> using namespace std; int main(){ int a; cin>>a; cout<<a%1000%100%10<<a%1000%100/10<<a%1000/100<<a/1000; return 0; }