13 条题解

  • 0
    @ 2022-9-30 9:01:51
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
    	int s, a;
    	while(cin >> s)
    	{
    		a = s / 1000;//ge
    		a += s / 100 % 10 * 10;//shi
    		a += s / 10 % 10 * 100;//bai
    		a += s % 10 * 1000;//qian
    		cout << a << endl;
    	}
    	return 0;
    }
    
    
    

    信息

    ID
    27
    时间
    1000ms
    内存
    128MiB
    难度
    6
    标签
    递交数
    5335
    已通过
    1782
    上传者