1 条题解

  • 0
    @ 2026-6-14 14:05:19
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
    	double k;
    	scanf("%lf",&k);
    	double c=k-273.15;
    	double f=32+c*1.8;
    	if(f>212){
    		printf("Temperature is too high!\n");
    	}else 
    		printf("%.2f%.2f\n",c,f);
    	return 0;
    }
    

    信息

    ID
    21
    时间
    1000ms
    内存
    256MiB
    难度
    1
    标签
    递交数
    21
    已通过
    4
    上传者