Comments

https://mirror.codeforces.com/contest/1832/submission/205823199 I know it can be further optimised with prefix/suffix sum but where is my logic wrong in this code? can u plz explain....

got same error during contest btw