Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
109544 | 李朋秦 | 11温度转换II | C++ | Compile Error | 0 MS | 0 KB | 141 | 2025-02-09 14:44:38 |
#include<cstdio> //scanf()\printf() int main(){ double a; scanf("%lf",&a); printf("%.4lf",((f-32)*5/9)); return 0; }
Main.cc: In function 'int main()': Main.cc:5:22: error: 'f' was not declared in this scope printf("%.4lf",((f-32)*5/9)); ^ Main.cc:4:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lf",&a); ^