Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
104376 | 张泽一 | 02三个数相乘 | C++ | Compile Error | 0 MS | 0 KB | 138 | 2025-01-04 20:29:57 |
#include<iostream> // cin\cout\endl using namespace std; int main(){ int a,b,c; cin>>a>>b; cout a*b*c; return 0; }
Main.cc: In function 'int main()': Main.cc:6:10: error: expected ';' before 'a' cout a*b*c; ^ Main.cc:6:15: warning: statement has no effect [-Wunused-value] cout a*b*c; ^ Main.cc:4:13: warning: unused variable 'c' [-Wunused-variable] int a,b,c; ^