Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
98951 黄雨婷 05求长方形的周长和面积 C++ Accepted 1 MS 272 KB 220 2024-11-23 19:14:08

Tests(10/10):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() using namespace std; int main(){ int n,m; scanf("%d%d",&n,&m); printf("%d",(n+m)*2); printf("% d",n*m); return 0; }