Codeforces Round 574 (Div. 2) E. OpenStreetMap
- Time : O(nm)
- Space : O(nm+a+b)
c++
1 |
|