| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 159125 | 王垚植 | 【基础题】长方形面积 | C++ | Accepted | 1 MS | 276 KB | 199 | 2026-08-25 21:32:40 |
#include<bits/stdc++.h> using namespace std; int main(){ double a,b; cin>>a>>b; double s=a*b,l=(a+b)*2; printf("%.2lf",s); cout<<" "; printf("%.2lf",l); return 0; }