Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
71246 刘珩宇 06变换四位数 C++ Accepted 1 MS 272 KB 179 2024-04-21 15:04:01

Tests(10/10):


Code:

# include<iostream> using namespace std; int main(){ int a,q,b,s,g,w; cin>>a; q=a/1000; b=a%1000/100; s=a%100/10; g=a%10; w=b*1000+q*100+g*10+s*1; cout<<w; return 0; }