NOIP_day2_2 accepted.