Codeforces Round 644 (Div. 3) G. A/B Matrix
- Time : O(n∗a∗(n+m+n∗m))
- Space : O(n∗m)
c++
1 |
|