knightzone.studio
#UVa:10020-Minimal coverage - 翼世界夢想領域
可使用Greedy的方法來解。 先將線段以左界從小到大來排序,接著紀錄兩個值:一個是目前需要的範圍的左界(初始...