Codeforces Round #817 (Div. 4) E. Counting Rectangles
- Time : O(n+m+Ahi∗Awi)
- Space : O(Ahi∗Awi)
c++
1 |
|