Codeforces Beta Round 37 C. Old Berland Language
- Time : O(n∗(logn+nlogAi))
- Space : O(n)
c++
1 |
|