16 条题解

  • 3
    @ 2023-1-23 15:20:52
    #include <iostream>
    using namespace std;
    int main(){
    	double a;
    	scanf("%lf",&a);
    	printf("%.5f",5*(a-32)/9);
    	return 0;
    }
    
    • 1
      @ 2026-4-18 18:47:28

      #include #include using namespace std; int main() { double a,c; cin>>a; c=5*(a-32)/9; cout<<fixed<<setprecision(5)<<c; } 给个赞吧,求求了

      • 1
        @ 2024-10-23 22:14:01

        #include

        #include<bits/stdc++.h>

        using namespace std;

        main()

        { double F;

        cin>>F;

        float c;

        c=5*(F-32)/9;

        cout<<fixed<<setprecision(5)<<c; }

        • 1
          @ 2023-8-15 17:08:25
          /*********************************
          备注:
          *********************************/
          #include <iostream>
          #include <cstdio>
          #include <iomanip>
          #include <cmath>
          #include <math.h>
          #include <algorithm>
          #include <cstring>
          #include <string>
          #include <stack>
          #include <queue>
          #include <algorithm>
          #define LL long long
          using namespace std;
          const int INF = 0x3f3f3f3f;
          const int N = 1e5 + 10;
          double c , f;
          int main()
          {
          	cin >> f;
              c = 5 * ( f - 32 ) / 9;
              cout << fixed << setprecision(5) << c;
          	return 0;
          }
          
          • 1
            @ 2023-8-7 20:18:15
            #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  F,C;//F代表华氏温度 C代表摄氏温度 
            int main()
            {
            	cin>>F;
            	C=5*(F-32)/9;
            	printf("%.5lf",C);
            	return 0;
            }
            
            
            • 1
              @ 2023-6-12 20:48:15
              #include <iostream>
              #include <stdio.h>
              #include <iomanip>
              using namespace std;
              const int N = 1e6 + 10;
              const int INF = 0x3f3f3f3f;
              int main()
              {
              	float F;
              	cin >> F;
              	F = 5 * ( F - 32 ) / 9;
              	cout << fixed << setprecision(5) << F;
              	return 0;
              }
              
              • 1
                @ 2022-11-12 11:55:16
                #include <iostream> 
                using namespace std; 
                int main() 
                {
                     
                    double c , f ; 
                    cin >> f ; 
                    c = 5 * (f - 32) / 9; 
                    printf("%.5lf",c);
                }
                
                • 0
                  @ 2025-7-7 16:45:22

                  #include

                  #include

                  using namespace std;

                  int main()

                  {

                  float F;
                  
                  cin >> F;
                  
                  F = 5 * ( F - 32 ) / 9;
                  
                  cout << fixed << 
                  

                  setprecision(5) << F;

                  return 0;
                  

                  }

                  • 0
                    @ 2024-3-26 21:01:29

                    #include #include using namespace std; int main() { double f; cin>>f; f = 5 * ( f - 32 ) / 9; cout << fixed << setprecision(5) << f;

                    return 0;
                    

                    }

                    • 0
                      @ 2023-10-20 18:12:50

                      #include #include using namespace std; int main(){ double c,f; cin>>f; c=5*(f-32)/9; cout<<fixed<<setprrecision(5); cout<<c;

                      return 0; }

                      • -2
                        @ 2023-6-1 21:35:48
                        #include <iostream>
                        #include <bits/stdc++.h>
                        using namespace std;
                        const int N=1e7+10;
                        const int INF=0x3f3f3f3f;
                        int main()
                        {
                        	double a,b;
                        	cin>>a;
                        	b=5*(a-32)/9;
                        	cout<<fixed<<setprecision(5)<<b;
                        }
                        
                        
                        • -4
                          @ 2022-12-11 15:28:18

                          #include #include using namespace std;

                          int main(){ double a; cin>>a; cout<<setiosflags(ios::fixed)<<setprecision(5)<<5*(a-32)/9; return 0; }

                          • -4
                            @ 2022-10-30 16:26:38
                            #include <bits/stdc++.h>
                            
                            using namespace std;
                            
                            int main(void)
                            {
                                float f, c;
                            
                                cin >> f;
                            
                                c = 5 * (f - 32) / 9;
                            
                                cout << fixed << setprecision(5) << c;
                            
                                return 0;
                            }
                            
                            • -4
                              @ 2022-8-2 12:00:40
                              #include<bits/stdc++.h>
                              using namespace std;
                              double C=0, F;
                              int main()
                              {
                                  cin >> F;
                                  C=5*(F-32)/9;
                                  printf("%.5lf", C);
                              }
                              
                              
                              • -5
                                @ 2022-10-20 22:14:46

                                #include #include using namespace std; int main(){ float a; cin >>a; cout<<fixed<<setprecision(5)<<5*(a-32)/9; return 0; }

                                • -8
                                  @ 2022-2-8 18:58:58

                                  #include <stdio.h> #include using namespace std; int main() { double C , F ; cin >> F ; C = 5 * (F - 32) / 9; printf("%.5lf",C);

                                  }

                                  • 1

                                  信息

                                  ID
                                  843
                                  时间
                                  1000ms
                                  内存
                                  128MiB
                                  难度
                                  3
                                  标签
                                  递交数
                                  1201
                                  已通过
                                  603
                                  上传者