what is reason of this error?

Правка en3, от AnupamRoy, 2021-05-14 17:00:33

Since left side size 1 and right side size 0 . the result should be for value '1'. that's index is 2.
the problem link https://codeforces.com/problemset/problem/1199/A

the screenshot of result

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский AnupamRoy 2021-05-14 17:00:33 101
en2 Английский AnupamRoy 2021-05-14 16:54:57 0 Tiny change: 'Since left' -> '![ ](http://Since left'
en1 Английский AnupamRoy 2021-05-14 16:53:32 202 Initial revision (published)