Codeforces и Polygon могут быть недоступны в период с 23 мая, 7:00 (МСК) по 23 мая, 11:00 (МСК) в связи с проведением технических работ. ×

Contest round #683 Add candies tests.

Правка en1, от meta-totle, 2020-11-16 06:20:24

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

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский meta-totle 2020-11-16 06:27:29 11
en1 Английский meta-totle 2020-11-16 06:20:24 541 Initial revision (published)