5 条题解

  • 2
    @ 2022-8-29 16:40:29
    #include<stdio.h>
    using namespace std;
    int main()
    {
    	int a,b;
    	scanf("%d %d",&a,&b);
    	double ans=1.0*a/b;
    	printf("%.9lf",ans);
    	return 0;
     } 
    
    • 2
      @ 2022-8-13 19:09:49
      #include <iostream>
      #include <cstdio>
      using namespace std;
      double c;
      double a,b;
      int main(){
          cin >> a >> b;
          c = a / b;
          printf("%.9lf",c);
          return 0;
      }
      
      • 1
        @ 2023-8-7 20:13:31
        #include<bits/stdc++.h>
        #include<cstring>
        #include<queue>
        #include<set>
        #include<stack>
        #include<vector>
        #include<map>
        #define ll long long
        using namespace std;
        const int N=1e5+10;
        const int M=2023;
        const int inf=0x3f3f3f3f;
        double a,b,c;
        int main()
        {
        	cin>>a>>b;
        	printf("%.9f",a/b);	
        	return 0;
        }
        
        
        • 0
          @ 2024-5-23 13:51:37

          #include<iostream #include<iomanip #include<cmath using namespace std; int main() { long double a,b; cin>>a>>b; cout<<fixed<<setprecision(9)<<a/b; return 0; }

          • -3
            @ 2021-10-25 22:04:13

            math=input().split() a=int(math[0]) b=int(math[1]) x = a/b print("%.9f" % x)

            • 1

            信息

            ID
            838
            时间
            1000ms
            内存
            128MiB
            难度
            1
            标签
            递交数
            50
            已通过
            35
            上传者