25 条题解

  • -5
    @ 2022-10-4 12:00:00
    #include <iostream> 
    using namespace std; 
    int main()
    { 
        int n; 
        cin>>n; 
        int ge=n%10; 
        int shi=n/10%10; 
        int bai=n/100; 
        cout<<ge<<shi<<bai; 
    }
    
    • -5
      @ 2022-7-2 8:20:15
      /*****************************************
      备注:
      ******************************************/
      #include <queue>
      #include <math.h>
      #include <stack>
      #include <stdio.h>
      #include <iostream>
      #include <vector>
      #include <iomanip>
      #include <string.h>
      #include <algorithm>
      using namespace std;
      #define LL long long
      const int N = 1e5 + 10;
      const int INF = 0x3f3f3f3f;
      int main(){
      	int n;
      	cin>>n;
      	int ge=n%10;
      	int shi=n/10%10;
      	int bai=n/100;
      	cout<<ge<<shi<<bai;
      	return 0;
      }
      • -5
        @ 2022-4-24 14:39:45

        #include #include using namespace std; int main() { int a,b,c,d; cin>>d; a=d/100; b=d%100/10; c=d%10; cout<<c100+b10+a; return 0; }

        • -5
          @ 2022-1-24 9:32:51
          #include <stdio.h>
          #include <iostream>
          using namespace std;
          int main()
          {
          	int a;
          	cin >> a;
          	int b,g,s;
          	g = a%10;
          	b = a/100;
          	s = (a/10)%10;
          	// int t = s;
          	// s = t%10;
          	// s = s%10;
          	cout << g  << s  << b << endl;
          
          }
          
          • -7
            @ 2022-10-17 17:31:29
            #include <iostream>
            using namespace std;
            int main()
            {
              int n,a,b,c;
              cin>>n;
              a=n%10;
              b=n/10%10;
              c=n/100;
              cout<<a<<b<<c<<endl; 
              return 0;
            }
            

            信息

            ID
            837
            时间
            1000ms
            内存
            128MiB
            难度
            5
            标签
            递交数
            1825
            已通过
            698
            上传者