Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
102362 | 牟承浩 | 05求长方形的周长和面积 | C++ | Compile Error | 0 MS | 0 KB | 138 | 2024-12-21 15:23:25 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,m; cin>>n>>m; cout<<(n+m)*2; cout<<n*2+m*2<<endl; return 0;
Main.cc: In function 'int main()': Main.cc:8:10: error: expected '}' at end of input return 0; ^