Codeforces Round 536 (Div. 2) E. Lunar New Year and Red Envelopes
- Time : O(nm+klogk)
- Space : O(nm+k)
c++
1 |
|