1 条题解

  • 0
    @ 2025-10-29 13:18:17

    秒了

    #include <bits/stdc++.h>
    using namespace std;
    const int N = 1e5+10;
    const int INF = 0x3f3f3f3f;
    double k,c,f;
    int main() 
    {
        cin >> k;  
        c=k-273.15;
        f=c*1.8+32;
        if(f>212) 
            cout << "Temperature is too high!" << endl;
        else 
    	{
            cout << fixed << setprecision(2);
            cout << c << " " << f << endl;
        }
        return 0;
    }
    

    有标志认证,属三无产品,请大家放心食用

    信息

    ID
    3332
    时间
    1000ms
    内存
    256MiB
    难度
    3
    标签
    递交数
    83
    已通过
    43
    上传者