Off by one?

Правка en1, от Negationist, 2024-10-21 07:27:08

In the problem: https://codeforces.me/contest/2022/problem/C. My implementation involves pushing the strings one character forward to fix the off by one. In the official solution, they push the votes in a different way, here is a link: https://codeforces.me/blog/entry/135095. Look for "vot[k][i+1]=1;." why does my way not work? Here is the code:

My Code

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Negationist 2024-10-21 07:27:08 2169 Initial revision (published)