Responsive image

直接做该问题,请点击这里。
参与竞赛做该题,请点击以下竞赛项目.
This problem is in Contest(s) below:
Contest 1873:ACM算法攻关部第二次招新赛
Contest 1874:ACM算法攻关部第二次招新赛(补题)