Codeforces Round 249 (Div. 2) D. Special Grid
- Time : O(nm∗(n+m))
- Space : O(nm)
c++
1 |
|