Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
121437 | 周民苡 | 05求长方形的周长和面积 | C++ | Accepted | 2 MS | 272 KB | 162 | 2025-06-07 14:01:13 |
#include<iostream> #include<cstdio> using namespace std; int main() { int m; int n; cin>>n>>m; cout<<(m+n)*2<<endl<<m*n; return 0; }