3 条题解

  • 1
    @ 2023-10-1 11:33:20
    #include<iostream>
    #include<iomanip>
    using namespace std;
    int main(){
    	char c;
    	int a;
    	float f;
    	double d;
    	scanf("%c %d %f %lf",&c,&a,&f,&d);
    	printf("%c %d %.6f %.6lf",c,a,f,d);
    	return 0;
    }
    
    • 0
      @ 2023-10-22 10:59:13
      #include <iostream>
      using namespace std;
      int main()
      {
          char a;
          int b;
          float c;
          double d;
          cin>>a>>b>>c>>d;
          cout<<a<<" "<<b<<" ";
          printf("%.6lf %6lf",c,d);
          return 0;
      }
      
      • -2
        @ 2022-7-12 12:00:14

        #include<bits/stdc++.h> using namespace std; int main() { char c; int b; float n; double d; cin>>c>>b>>n>>d; cout<<c; cout<<" "; cout<<b; cout<<" "; cout<<fixed<<setprecision(6)<<n; cout<<" "; cout<<fixed<<setprecision(6)<<d; cout<<" "; return 0; }

        • 1

        信息

        ID
        6835
        时间
        1000ms
        内存
        128MiB
        难度
        1
        标签
        (无)
        递交数
        67
        已通过
        48
        上传者