Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
50461 | 杨宜炜 | 【基础题】长方形面积 | C++ | Accepted | 1 MS | 272 KB | 145 | 2023-07-12 11:32:24 |
#include<iostream> using namespace std; int main(){ float a,b; cin>>a>>b; printf("%.2f",a*b); cout<<" "; printf("%.2f",(a+b)*2); }