← Back to topics
Topic

MATSUM - WA On 10 th Test Case

A
Al3kSaNdaR
I have learned a little bit about BIT yesterday and I solved task MATSUM, but I get WA on last test case. Can someone tell me why ? :\

http://www.z-trening.com/new/www/html/submit.php?submit=7100053933&subm_code=1
D
Dgleich
Hmm I had a same problem but I don't rember how I solved it , try changing int to int64 and increasing tree size...
f
fushar
Increase your array size to, say, 1030x1030.