SRM477 Div2

SRM477

TopCoder

Posted by tanitanin