Codeforces Round 248 (Div. 2) D. Nanami’s Digital Board
- Time : O(q∗(n+m))
- Space : O(nm)
c++
1 |
|