Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
125827 | 赵梓渊 | 03温度转换 | C++ | Compile Error | 0 MS | 0 KB | 128 | 2025-07-15 15:41:13 |
#include<bits/stdc++.h> using namespace std; int main() { int c; int f; cin >> c; cout << (char c)c; return 0; }
Main.cc: In function 'int main()': Main.cc:7:11: error: expected primary-expression before 'char' cout << (char c)c; ^ Main.cc:7:11: error: expected ')' before 'char' Main.cc:5:9: warning: unused variable 'f' [-Wunused-variable] int f; ^