Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
4975 zhengxitong 倒序输出一个四位整数 C++ 通过 100 0 MS 260 KB 177 2020-07-26 10:54:50

Tests(9/9):


#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,d,e; cin>>a; b=a/1000; c=a/100%10; d=a/10%10; e=a%100%10; cout<<e<<d<<c<<b; return 0; }


测评信息: