Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
125940 | 葛锦东 | 温度转换 | C++ | Compile Error | 0 MS | 0 KB | 163 | 2025-07-15 16:50:28 |
#include<bits/stdc++.h> using namespace std; int main() { double c; double f; cin>>f; c=(F-32)*5/9 printf("%.2f",c); return 0; }
Main.cc: In function 'int main()': Main.cc:7:8: error: 'F' was not declared in this scope c=(F-32)*5/9 ^