Tinkoff Internship Warmup Round 2018 and Codeforces Round 475 (Div. 1) A. Alternating Sum
- Time : O(log(mod)+log(n/k)+k)
- Space : O()
c++
1 |
|