Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
115812 | 翁思宸 | 11温度转换II | C++ | Wrong Answer | 1 MS | 272 KB | 351 | 2025-04-04 18:58:08 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int f; double c=0; cin>>f; c=(f-32)*5/9; printf("%.4lf",c); return 0; }
------Input------
9.8
------Answer-----
-12.3333
------Your output-----
-12.0000