2 条题解

  • 0
    @ 2025-5-3 12:49:56
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
        cout<<"32.2222";
        return 0;
    }
    
    • 0
      @ 2024-12-24 9:59:30

      C :

      #include <stdio.h>
      
      void main()
      {
      float c,f;
      scanf("%f",&f);
      c=5.0/9*(f-32);
      printf("%.4f",c);
      }
      
      

      C++ :

      #include<iostream>
      using namespace std;
      
      int main()
      {
      	double f,c;
      	cin>>f;
              c=5.0/9*(f-32);
      	cout<<c<<endl;
      	return 0;
      }
      
      • 1

      信息

      ID
      1646
      时间
      1000ms
      内存
      128MiB
      难度
      10
      标签
      递交数
      2
      已通过
      1
      上传者