#include <iostream>
using namespace std;
class Rectangle {
int width, height;
public:
void set_values (int,int);
int area () {return width*height;}
};
void Rectangle::set_values (int x, int y) {
width = x;
height = y;
}
int main () {
Rectangle rect, rectb;
cout<<"rect.area: "<<rect.area()<<endl;
rect.set_values (3,4);
rectb.set_values (5,6);
cout << "rect area: " << rect.area() << endl;
cout << "rectb area: " << rectb.area() << endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKY2xhc3MgUmVjdGFuZ2xlIHsKICAgIGludCB3aWR0aCwgaGVpZ2h0OwogIHB1YmxpYzoKICAgIHZvaWQgc2V0X3ZhbHVlcyAoaW50LGludCk7CiAgICBpbnQgYXJlYSAoKSB7cmV0dXJuIHdpZHRoKmhlaWdodDt9Cn07Cgp2b2lkIFJlY3RhbmdsZTo6c2V0X3ZhbHVlcyAoaW50IHgsIGludCB5KSB7CiAgd2lkdGggPSB4OwogIGhlaWdodCA9IHk7Cn0KCmludCBtYWluICgpIHsKICBSZWN0YW5nbGUgcmVjdCwgcmVjdGI7CiAgY291dDw8InJlY3QuYXJlYTogIjw8cmVjdC5hcmVhKCk8PGVuZGw7CiAgcmVjdC5zZXRfdmFsdWVzICgzLDQpOwogIHJlY3RiLnNldF92YWx1ZXMgKDUsNik7CiAgY291dCA8PCAicmVjdCBhcmVhOiAiIDw8IHJlY3QuYXJlYSgpIDw8IGVuZGw7CiAgY291dCA8PCAicmVjdGIgYXJlYTogIiA8PCByZWN0Yi5hcmVhKCkgPDwgZW5kbDsKICByZXR1cm4gMDsKfQoKCgoKCgkKCQoJCgkK