Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
100452 钱恩浩 06变换四位数 C++ Accepted 1 MS 272 KB 313 2024-12-07 19:25:36

Tests(10/10):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() using namespace std; int main(){ int g,s,b,q,e; cin>>e; g=e%10; s=e/10%10; b=e/100%10; q=e/1000; cout<<g*10+s+b*1000+q*100; return 0; }