Codeforces Round 338 (Div. 2) D. Multipliers
- Time : O(max(Ai)∗log(mod))
- Space : O(max(Ai))
c++
1 |
|