Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
6816 | 谢锦卓 | 【基础题】长方形面积 | C++ | Wrong Answer | 0 MS | 268 KB | 378 | 2025-03-16 21:27:10 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int a,b,s,c; cin>>a>>b; s=a*b; printf("%2lf\n",s); c=a*2+b*2; printf("%2lf\n",c); return 0; }
------Input------
53.3 50
------Answer-----
2665.00 206.60
------Your output-----
0.000000 0.000000