Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
104513 陈治宸 11温度转换II C++ Compile Error 0 MS 0 KB 143 2025-01-05 11:41:39

Tests(0/0):


Code:

#include<iostream> #include<cstdio> using namespace std; int main() { float f,c; cin>>f; c =(f-32)*5.0/9.0; printf("%.4f\n",c); return 0; }


Run Info:

Main.cc:1:20: warning: extra tokens at end of #include directive
 #include #include using namespace std; int main() { float f,c; cin>>f; c =(f-32)*5.0/9.0; printf("%.4f\n",c); return 0; }
                    ^
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status