Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
13243 杨为哲 【基础题】长方形面积 C++ Accepted 2 MS 812 KB 158 2021-05-26 12:30:49

Tests(4/4):


Code:

#include <iostream> using namespace std; int main() { float a,b; cin>>a>>b; printf("%.2f",a*b); cout<<" "; printf("%.2f",(a+b)*2); return 0; }