洛谷 P3431:[POI2005]AUT-The Bus(離散化+DP+樹狀數組)

題目描述 The streets of Byte City form a regular, chessboardlike network - they are either north-south or west-east directed. We shall call them NS- and WE-streets. Furthermore, each street crosses the wh
相關文章
相關標籤/搜索