Need help in a problem of two pointers

Revision ru1, by bovin, 2024-03-28 18:09:35

Problem My code [submission:253606924] My code crashes on one of the tests. I assumed it was an overflow problem and tried to fix it, but it didn't work. Now i don't understand what could be the error

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English bovin 2024-03-28 21:04:57 1354 Initial revision for English translation
ru5 Russian bovin 2024-03-28 18:12:49 0 (опубликовано)
ru4 Russian bovin 2024-03-28 18:12:25 2 Мелкая правка: ' the error\nCode:\n\n~' -> ' the error.\n#Code:\n\n~'
ru3 Russian bovin 2024-03-28 18:11:56 20
ru2 Russian bovin 2024-03-28 18:10:55 1063
ru1 Russian bovin 2024-03-28 18:09:35 335 Первая редакция (сохранено в черновиках)