2 条题解

  • 0
    @ 2025-10-13 14:52:39

    Python:

    fahrenheit = int(input())
    print( "%.3f" % ((fahrenheit - 32) * 5 / 9))
    
    • 0
      @ 2024-7-25 12:43:34

      参考答案:

      #include<iostream>
      
      using namespace std;
      
      int main()
      {
          double a;
          cin >> a;
      
          printf("%.3f", 5.0 / 9 * (a - 32));
      
          return 0;
      }
      
      • 1

      信息

      ID
      33
      时间
      1000ms
      内存
      256MiB
      难度
      7
      标签
      递交数
      24
      已通过
      9
      上传者