what is reason of this error?

Revision en3, by 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.net/problemset/problem/1199/A

the screenshot of result

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English AnupamRoy 2021-05-14 17:00:33 101
en2 English AnupamRoy 2021-05-14 16:54:57 0 Tiny change: 'Since left' -> '![ ](http://Since left'
en1 English AnupamRoy 2021-05-14 16:53:32 202 Initial revision (published)