Codeforces Beta Round #86 (Div. 2 Only) B. PFAST Inc.
- Time : O(nlogn+2n∗n)
- Space : O(n)
c++
1 |
|