eolymp
bolt
Try our new interface for solving problems
Problems

Perimeter of rectangle

published at 2/12/24, 3:40:12 pm

include <iostream>

using namespace std;
int main()
{
    long long a;
    long long b;
    cin>>a>>b;
    cout<<(a + b) * 2;
}