6 条题解

  • 3
    @ 2022-6-29 11:24:29
    #include<iostream>
    using namespace std;
    int main() {
    	int a,b,c,d,e; 
    	cin>>a;
    	b=a/100;
    	c=a%100/10;
    	d=a%100%10;
    	e=b+10*c+100*d;
    	cout<<a+e;
    	return 0;
    }
    
    • 1
      @ 2023-11-25 13:55:26
      #include<bits/stdc++.h>
      using namespace std;
      int main(){ 
          char a,b,c;
          cin>>a>>b>>c;
          cout<<(a^'0')*101+(b^'0')*20+(c^'0')*101;
          return 0;
      }
      
      • 1
        @ 2023-7-7 15:48:41

        WSSB

        • 0
          @ 2023-7-7 15:28:07

          include<bits/stdc++.h>

          using namespace std; int main(){ int n,a,b,c,sum; cin>>n; c=n/100; b=n%100/10; a=n%100%10; sum=100a+10b+c; cout<<sum+n; return 0; }

          • 0
            @ 2023-3-25 10:07:07

            #include<bits/stdc++.h> using namespace std; int main() { int i,n,ge,shi,bai,m; cin>>n; bai=n/100; shi=n%100/10; ge=n%100%10; m=ge100+shi10+bai+n; cout<<m; return 0; }

            • 0
              @ 2022-11-4 21:50:18
              #include<bits/stdc++.h>
              using namespace std;
              int main() {
              	int a,b,c,d,e; 
              	scanf("%d",&a);
              	b=a/100;
              	c=a%100/10;
              	d=a%100%10;
              	e=b+10*c+100*d;
              	printf("%d\n",a+e);
              	return 0;
              }
              
              
              • 1

              信息

              ID
              13
              时间
              1000ms
              内存
              16MiB
              难度
              5
              标签
              递交数
              749
              已通过
              297
              上传者