#include <iostream>
class A{int a;};
class B:public A{int b;};
class C:public A{int c;};
int main(){
std::cout << sizeof(A) << std::endl;
std::cout << sizeof(C) << std::endl;
int size=3;
A* a= new A[size];
C c;
a[2]=c;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgpjbGFzcyBBe2ludCBhO307CmNsYXNzIEI6cHVibGljIEF7aW50IGI7fTsKY2xhc3MgQzpwdWJsaWMgQXtpbnQgYzt9OwoKaW50IG1haW4oKXsKc3RkOjpjb3V0IDw8IHNpemVvZihBKSA8PCBzdGQ6OmVuZGw7CnN0ZDo6Y291dCA8PCBzaXplb2YoQykgPDwgc3RkOjplbmRsOwppbnQgc2l6ZT0zOwpBKiBhPSBuZXcgQVtzaXplXTsKQyBjOwphWzJdPWM7CnJldHVybiAwOwp9Cg==