| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 65142 | 胡家豪 | 05求长方形的周长和面积 | C++ | Accepted | 3 MS | 264 KB | 166 | 2024-01-24 10:43:51 |
#include<bits/stdc++.h> using namespace std; int main() { int m; int n; scanf ("%d%d",&m,&n); cout <<(m+n)*2; cout<<" "; cout<<m*n; return 0; }