I was solving question Your text to link here... and got time limit exceed error by submission 66275850 after using fenwick tree for time efficiency . Can anyone rectify the error ?
I was solving question Your text to link here... and got time limit exceed error by submission 66275850 after using fenwick tree for time efficiency . Can anyone rectify the error ?
So I made submission of problem https://codeforces.com/problemset/problem/154/B having submission 54472940 but giving tle on test case 1 while running efficiently and giving correct answer in codeblocks in my pc. Please help if there is any error in my code.