写完发现艹了标算。
即ural1814
http://poj.org/problem?id=3318
题意不能更简单粗暴
Host by is-Programmer.com | Power by Chito 1.3.3 beta | Theme: Aeros 2.0 by TheBuckmaker.com