Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
165496 林睿 03温度转换 C++ Compile Error 0 MS 0 KB 142 2026-11-15 17:18:09

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main() { double c=0,f=0; cin>>c; f=c*9/5+32; printf(f); return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:8:13: error: cannot convert 'double' to 'const char*' for argument '1' to 'int printf(const char*, ...)'
     printf(f);
             ^