Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
109546 陈奕涵 11温度转换II C++ Compile Error 0 MS 0 KB 140 2025-02-09 14:48:14

Tests(0/0):


Code:

#include<cstdio> using namespace std; int main(){ double f; scanf("%lf",&f); printf("%.4lf",((f-32)*5/9)) return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:7:5: error: expected ';' before 'return'
     return 0;
     ^
Main.cc:5:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%lf",&f);
                    ^