Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
102384 | 咸澄萱 | 05求长方形的周长和面积 | C++ | Compile Error | 0 MS | 0 KB | 143 | 2024-12-21 15:31:14 |
#include<bits/stdc++.h> using namespace std; int main() { int n,m; cin>>n>>m; int c,s; c=2*(n+m); s=n*m cout<<c<<""<<s<<endl; }
Main.cc: In function 'int main()': Main.cc:10:2: error: expected ';' before 'cout' cout<