Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
89386 王煜鑫 06变换四位数 C++ Accepted 1 MS 272 KB 205 2024-08-24 14:08:48

Tests(10/10):


Code:

#include<iostream> using namespace std; int main(){ int a,b,c,d,e,f; cin>>a; e=a%10*10; d=(a/10)%10*1; c=(a/100)%10*1000; b=(a/1000)%10*100; f=c+b+e+d; cout<<f; }