Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
146832 唐俊逸 11温度转换II C++ Compile Error 0 MS 0 KB 340 2026-01-31 19:18:06

Tests(0/0):


Code:

#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(){ double f,c; cin>>f; c=f-32)/9*5; printf("%.4lf",c); return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:10:11: error: expected ';' before ')' token
     c=f-32)/9*5;
           ^