Codeforces Round 561 (Div. 2) E. The LCMs Must be Large
- Time : O(mn∗logn+m2∗n)
- Space : O(1)
c++
1 |
|