Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
126123 | 袁梓豪 | 05求长方形的周长和面积 | C++ | Accepted | 1 MS | 272 KB | 180 | 2025-07-16 15:05:08 |
#include<bits/stdc++.h> using namespace std; int main() { int a; int b; cin>>a>>b; int c=a*2+b*2; int d=a*b; cout <<c<<" "<<d; return 0; }