模拟即可。
很好,直接 ax−y→axa_x - y \to a_xax−y→ax 即可。
By signing up a HFOJ universal account, you can submit code and join discussions in all online judging services provided by us.
Using your HFOJ universal account