Пожалуйста, подпишитесь на официальный канал Codeforces в Telegram по ссылке https://t.me/codeforces_official. ×

Regarding the problem F of yesterday's contest

Правка en1, от Whitewiz, 2024-06-12 08:06:19

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://mirror.codeforces.com/contest/1985/submission/265437274) Hacked — (https://mirror.codeforces.com/contest/1985/submission/265303752)

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский Whitewiz 2024-06-12 19:04:03 412
en2 Английский Whitewiz 2024-06-12 08:18:05 64
en1 Английский Whitewiz 2024-06-12 08:06:19 446 Initial revision (published)