r/programmingchallenges • u/bobhob314 • Sep 27 '15
Help me solve this Fenwick tree problem?
http://wcipeg.com/problem/tc
3
Upvotes
r/programmingchallenges • u/bobhob314 • Sep 27 '15
View all comments
Show parent comment
2
u/heapHeapArray Sep 28 '15
Your problem is the 100,000 length on both axis and not the 300,000 points, or am I wrong? Anyway, take a look here: http://codeforces.com/blog/entry/13813?#comment-187779 (see the problem and then this answer).