Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
357000 徐嘉豪 【C1-3】矩形的面积与周长 C++ 解答错误 0 2 MS 240 KB 213 2025-10-19 11:53:47

Tests(0/2):


#include<bits/stdc++.h> using namespace std; int main(){ int a,b,s=0,s1=0; cin>>a>>b; s=a*b; s1=(a+b)*2; cout<<fixed<<setprecision(1)<<1.0*s; cout<<fixed<<setprecision(1)<<1.0*s1; return 0; }


测评信息: