| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 137043 | 王润中 | 03七巧板 | C++ | Compile Error | 0 MS | 0 KB | 142 | 2025-11-16 09:50:06 |
#include<iostream> #include<cmath> using namespace std; int main() { int c,f; cin>>c,f; c=c*2; f=f*2 cout<<(c+f)/2; }
Main.cc: In function 'int main()':
Main.cc:7:10: warning: right operand of comma operator has no effect [-Wunused-value]
cin>>c,f;
^
Main.cc:10:5: error: expected ';' before 'cout'
cout<<(c+f)/2;
^