2 条题解

  • 1
    @ 2025-1-17 16:46:03

    #include

    #include

    using namespace std;

    int main()

    {

    char a;
    
    int b;
    
    float c;
    
    double d;
    
    cin>>a>>b>>c>>d;
    
    cout<<fixed<<setprecision(6)<<a<<" "<<b<<" "<<c<<" "<<d;	
    
    }
    
    • 0
      @ 2025-1-31 13:34:23
      #include <bits/stdc++.h>
      using namespace std;
      int main(){
      	char ch;
      	int n;
      	float x;
      	double y;
      	cin>>ch>>n>>x>>y;
      	cout<<ch<<" "<<n<<" "<<fixed<<setprecision(6)<<x<<" "<<fixed<<setprecision(6)<<y;
      	
      	return 0;
      }
      
      • 1

      信息

      ID
      27
      时间
      1000ms
      内存
      128MiB
      难度
      5
      标签
      (无)
      递交数
      142
      已通过
      57
      上传者