Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
1804 | 林童 | 【基础题】长方形面积 | C++ | Accepted | 1 MS | 820 KB | 155 | 2020-11-16 18:40:47 |
#include<iostream> using namespace std; int main(){ double a,b; cin>>a>>b; printf("%.2f",a*b); cout<<" "; printf("%.2f",(a+b)*2); return 0; }