I used accumulate for calculating the sum of elements of the array(which got hacked) however simply calculating the sum via iteration gives the correct result.↵
↵
Am i missing something or is there any problem with using this "accumulate" thing.↵
↵
Accepted — (https://codeforces.me/contest/1985/submission/265437274)↵
,(https://codeforces.me/contest/1985/submission/265439252)↵
↵
Hacked — (https://codeforces.me/contest/1985/submission/265303752)
↵
Am i missing something or is there any problem with using this "accumulate" thing.↵
↵
Accepted — (https://codeforces.me/contest/1985/submission/265437274)↵
,(https://codeforces.me/contest/1985/submission/265439252)↵
↵
Hacked — (https://codeforces.me/contest/1985/submission/265303752)