#include<iostream>
struct A{
int a(){return 0;}
int a(int n){return 1;}
};
struct B : public A{
};
int main(){
B b;
std::cout<<b.a()<<" "<<b.a(10)<<std::endl;
return 0;
}
I2luY2x1ZGU8aW9zdHJlYW0+CgpzdHJ1Y3QgQXsKICBpbnQgYSgpe3JldHVybiAwO30KICBpbnQgYShpbnQgbil7cmV0dXJuIDE7fQp9OwpzdHJ1Y3QgQiA6IHB1YmxpYyBBewp9OwoKaW50IG1haW4oKXsKICBCIGI7CiAgc3RkOjpjb3V0PDxiLmEoKTw8IiAiPDxiLmEoMTApPDxzdGQ6OmVuZGw7CiAgcmV0dXJuIDA7Cn0K