Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
95624 | 王子毅 | 05求长方形的周长和面积 | C++ | Compile Error | 0 MS | 0 KB | 101 | 2024-11-01 13:28:09 |
#include<iostream> using namespace std; int main() { int << a,b; cout>>a*b>>endl; }
Main.cc: In function 'int main()': Main.cc:5:9: error: expected unqualified-id before '<<' token int << a,b; ^ Main.cc:6:11: error: 'a' was not declared in this scope cout>>a*b>>endl; ^ Main.cc:6:13: error: 'b' was not declared in this scope cout>>a*b>>endl; ^