11 条题解

  • 3
    @ 2023-4-27 13:33:35
    #include <iostream>
    using namespace std;
    int main()
    {
    	int a , b, c;
    	cin >> a >> b >> c;
    	// cout << left << setw(8) << a ;
    	// cout <<right<< " "<< setw(8) << b << " "
    	// << setw(8) << c << endl;
    
    	printf("%8d %8d %8d\n",a,b,c);
    }
    
  • 1
    @ 2024-3-23 10:47:42

    #include<iostream> using namespace std; int main(){ string a; int b; float c; double d; cin>>a>>b>>c>>d; cout<<a<<" "<<b<<" "; printf("%.6f",c); printf(" %.6f",d); return 0; }

    • 1
      @ 2023-10-6 10:54:26

      #include <iostream> #include <string> #include <stdio.h> #include <cstring> #include <complex> #include <iomanip> using namespace std; #define LL long long const int N=1e5; const int INF = 0x3f3f3f3f; int a,b,c; int main() { cin>>a>>b>>c; cout<<setw(8)<<a<<" "; cout<<setw(8)<<b<<" "; cout<<setw(8)<<c<<" ";

      return 0;
      

      }

      • 0
        @ 2024-11-24 14:09:39
        #include <iostream>
        #include <iomanip>
        using namespace std;
        int main()
        {
        int a,b,c;
        cin >> a >> b >> c;
        cout << setw(8) << a << ' ';
        cout << setw(8) << b << ' ';
        cout << setw(8) <<c;
        return 0;
        }
        

        有标志认证,属三无产品,请各位放心食用

        • 0
          @ 2023-5-11 21:49:58

          请叫我装x之王:

          #include <iostream>
          #include <iomanip>
          using namespace std;
          int main()
          {
              int a, b, c;
              cin >> a >> b >> c;
              cout << setw(8) << right << a;
              cout << setw(8) << right << b;
              cout << setw(8) << right << c;
              return 0;
          }
          

          yeap! image

          • @ 2023-5-11 22:08:36

            神马离谱玩意儿?求大神帮改!

          • “只有一行,按照格式要求依次输出三个整数,之间以一个空格分开。” 空格:那我走 正确代码:

            #include <iostream>
            #include <bits/stdc++.h>
            using namespace std;
            const int N=1e7+10;
            const int INF=0x3f3f3f3f;
            int main()
            {
                int a, b, c;
                cin >> a >> b >> c;
                cout << setw(8)<< a<<" ";
                cout << setw(8)<< b<<" ";
                cout << setw(8)<< c;
                return 0;
            }
            
          • @ 2023-6-28 22:23:50

            @ Thanks♪(・ω・)ノ

        • 0
          @ 2023-2-27 20:48:06
          #include <iostream>
          using namespace std;
          int main()
          {
          	int a , b, c;
          	cin >> a >> b >> c;
          	// cout << left << setw(8) << a ;
          	// cout <<right<< " "<< setw(8) << b << " "
          	// << setw(8) << c << endl;
          
          	printf("%8d %8d %8d\n",a,b,c);
          }
          
          • 0
            @ 2022-11-26 22:39:32

            #include<iostream> using namespace std; int main(){ long long a,b,c; cin>>a>>b>>c; cout<<a<<" "<<b<<" "<<c; }

            • 0
              @ 2022-1-25 10:18:55
              #include <stdio.h>
              #include <iostream>
              #include <iomanip>
              using namespace std;
              int main()
              {
              	int a , b, c;
              	cin >> a >> b >> c;
              	// cout << left << setw(8) << a ;
              	// cout <<right<< " "<< setw(8) << b << " "
              	// << setw(8) << c << endl;
              
              	printf("%8d %8d %8d\n",a,b,c);
              }
              
              • -1
                @ 2022-11-26 22:39:48

                #include<iostream> using namespace std; int main(){ long long a,b,c; cin>>a>>b>>c; cout<<a<<" "<<b<<" "<<c; }

                • -2
                  @ 2022-9-25 15:27:22
                  #include <stdio.h>
                  #include <iostream>
                  #include <iomanip>
                  using namespace std;
                  int main()
                  {
                  	int a , b, c;
                  	cin >> a >> b >> c;
                  	// cout << left << setw(8) << a ;
                  	// cout <<right<< " "<< setw(8) << b << " "
                  	// << setw(8) << c << endl;
                  
                  	printf("%8d %8d %8d\n",a,b,c);
                  }
                  
                  
                  • -7
                    @ 2022-5-2 17:47:17

                    • 1

                    信息

                    ID
                    847
                    时间
                    1000ms
                    内存
                    128MiB
                    难度
                    6
                    标签
                    递交数
                    1037
                    已通过
                    331
                    上传者