14 条题解

  • 2
    @ 2023-7-13 13:14:47
    #include<iostream>
    #include<iomanip>
    using namespace std;
    int main(){
        int n,x;
        double m;
        cin>>n>>m>>x;
        double t=m/n*x;
        cout<<fixed<<setprecision(2)<<t;
        
    
        return 0;
    }
    
    • 1
      @ 2025-1-29 10:47:36
      #include<bits/stdc++.h>
      using namespace std;
      const int N=1e5+5,INF=0x3f3f3f3f;
      int n,x;
      double m;
      int main()
      {
      	cin>>n>>m>>x;
      	cout<<fixed<<setprecision(2)<<(1.0*x/n)*m;	
      	return 0;
      }
      
      • 1
        @ 2023-6-25 14:34:36
        #include <iostream>
        #include <stdio.h>
        #include <iomanip>
        #include <math.h>
        using namespace std;
        const int N = 1e6 + 10;
        const int INF = 0x3f3f3f3f;
        int main()
        {
        	int n , x;
        	double m;
        	cin >> n >> m >> x;
        	m = ( m / n ) * x;
        	cout << fixed << setprecision(2) << m;
        	return 0;
        }
        
        • 1
          @ 2023-1-26 16:11:24
          #include<iostream>
          using namespace std;
          int main(){
          	double n,m,x;
          	scanf("%lf%lf%lf",&n,&m,&x);	
              printf("%.2lf",m/n*x); 
          	return 0;
          }
          
          • 0
            @ 2023-5-19 19:49:32

            骗分过样例

            #include<iostream>
            using namespace std;
            int main(){
                cout<<8.45<<endl;
            	return 0;
            }
            
            • 0
              @ 2023-4-4 20:48:53

              #include<bits/stdc++.h> using namespace std; int main() { double n,a,b; cin>>n>>a>>b; cout<<fixed<<setprecision(2)<<a/n*b; return 0; }

              • 0
                @ 2022-9-3 13:20:41
                #include <bits/stdc++.h>
                
                using namespace std;
                
                int main()
                {
                    int n, x;
                  
                    float m;
                
                    cin >> n >> m >> x;
                
                    cout << m / n * x;
                
                    return 0;
                }
                
                • -1
                  @ 2022-7-2 20:30:16

                  #include <stdio.h> #include <iostream> #include <math.h> #include <iomanip> using namespace std; int main() { double n,m,x; cin >> n >> m >> x; double s=m/n*x; printf ("%.2lf",s); }

                  • -1
                    @ 2022-1-2 15:34:44
                    #include <stdio.h>
                    #include <iostream>
                    #include <math.h>
                    #include <iomanip>
                    using namespace std;
                    int main()
                    {
                    	double n,m,x;
                    	cin >> n >> m >> x;
                    	double s=m/n*x;
                    	printf ("%.2lf",s);
                    }
                    
                    • -2
                      @ 2022-7-2 16:49:30

                      #include<stdio.h> #include<iostream> using namespace std; int main() { int n,x; double m; cin>>n>>m>>x; double a=m/n*x; printf("%.2lf",a); }

                    • -2
                      @ 2022-1-2 15:49:24
                      #include <stdio.h>
                      #include <iostream>
                      #include <math.h>
                      using namespace std;
                      int main()
                      {
                      	double n,m,x;
                      	cin >>n >>m >>x;
                      	double s=m/n*x;
                      	printf ("%.2lf",s);
                      }
                      
                      • -2
                        @ 2022-1-2 15:36:25
                        #include <stdio.h>
                        #include <iostream>
                        #include <math.h>
                        #include <iomanip>
                        using namespace std;
                        int main()
                        {
                        	double n,m,x;
                        	cin >> n >> m >> x;
                        	double s=m/n*x;
                        	printf ("%.2lf",s);
                        }
                        
                        • -2
                          @ 2021-10-26 13:10:10

                          math=input().split() n=eval(math[0]) m=eval(math[1]) x=eval(math[2]) answer=((m/n)*x) print("%.2f" % answer)

                          • -2
                            @ 2021-10-14 13:29:49

                            n,m,x=input().split() print(round(float(m)/int(n)*int(x),2))

                          • 1

                          信息

                          ID
                          862
                          时间
                          1000ms
                          内存
                          128MiB
                          难度
                          4
                          标签
                          递交数
                          599
                          已通过
                          296
                          上传者