Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
157439 李泽曦 03温度转换 C++ Compile Error 0 MS 0 KB 142 2026-07-23 21:43:52

Tests(0/0):


Code:

#include<iostream> using namespace std; int main() { float C; cin>>C; float F=C*9/5+32 cout<<"hello"; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:8:5: error: expected ',' or ';' before 'cout'
     cout<<"hello";
     ^
Main.cc:7:11: warning: unused variable 'F' [-Wunused-variable]
     float F=C*9/5+32
           ^