CROC-MBTU 2012, Final Round (Online version, Div. 2) D. Building Bridge
- Time : O(nlogn+mlogm+m)
- Space : O(1)
c++
1 |
|