Fixed range sum without loop :D
1. https://www.geeksforgeeks.org/numeric-header-in-c-stl-set-1-accumulate-and-partial_sum/
2. https://codeforces.com/contest/1197/problem/C
Time complexity-O(n*k)
2. https://codeforces.com/contest/1197/problem/C
Time complexity-O(n*k)
Comments
Post a Comment