OI-Codes/XSM OJ 重庆小码王集团OJ/花园的周长和面积.cpp
2024-02-15 22:38:30 +08:00

10 lines
122 B
C++

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