3 条题解

  • 3

    #include<bits/stdc++.h>
    using namespace std;
    double K,F,C;//KFC???
    int main()
    {
    cin>>K;
    C=K-273.15;
    F=C*1.8+32;
    if(F>212)cout<<"Temperature is too high!";
    else printf("%.2f %.2f",C,F);
    return 0;
    }

  • 0
    @ 2025-02-23 16:16:16

    #include<bits/stdc++.h>
    using namespace std;
    double K,F,C;//KFC???
    int main()
    {
    cin>>K;
    C=K-273.15;
    F=C*1.8+32;
    if(F>212)cout<<"Temperature is too high!";
    else printf("%.2f %.2f",C,F);
    return 0;
    }

  • 0
    @ 2025-02-23 16:16:07

    #include<bits/stdc++.h>
    using namespace std;
    double K,F,C;//KFC???
    int main()
    {
    cin>>K;
    C=K-273.15;
    F=C*1.8+32;
    if(F>212)cout<<"Temperature is too high!";
    else printf("%.2f %.2f",C,F);
    return 0;
    }

  • 1

信息

ID
2847
难度
5
分类
(无)
标签
递交数
53
已通过
17
通过率
32%
上传者