Contest round #683 Division 2 Add candies tests.

Revision en2, by meta-totle, 2020-11-16 06:27:29

In the first problem of this round the number of operations is the number of bags and you have to include all the indices of the bags. The order of the indices doesn't matter because every bag gets added with the number of candies of the unaffected bag, in the end filling every bag with equally n(n+1)/2 candies. This is what I understand. There is no need to minimize m operations either, so can anyone tell me why this submission is wrong?

https://codeforces.com/contest/1447/submission/98465795

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English meta-totle 2020-11-16 06:27:29 11
en1 English meta-totle 2020-11-16 06:20:24 541 Initial revision (published)