mirror of
https://github.com/wczffl-503/OI-Codes.git
synced 2025-05-11 00:30:27 +08:00
10 lines
122 B
C++
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;
|
|
}
|