摘要:
Fence RepairTime Limit:2000MSMemory Limit:65536KTotal Submissions:14054Accepted:4474DescriptionFarmer John wants to repair a small length of the fence around the pasture. He measures the fence and finds that he needsN(1 ≤N≤ 20,000) planks of wood, each having some integer lengthLi(1 ≤Li≤ 50,000) uni 阅读全文