Showing Wrong Answer on First Test Case (Problem D ; Round 793)
Difference between en1 and en2, changed 150 character(s)
In Problem D for the first test case (last case)  ↵
6↵
1 6 3 4 5 6↵
My answer was 10 everywhere (I tried on VsCode, GFG ide, Codechef ide) but when I was submitting it on Codeforces it was showing 16 and it wasted all of my time.↵
Can Anyone please tell me what could be the probable reason?


![ ](/predownloaded/46/bb/46bbb536c248cf47c310c8f52bde77a1d91260d6.png)↵

![ ](/predownloaded/45/62/456273d7a0293ab7ba2756735945a3395ae09412.png)

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English protons 2021-05-06 06:38:11 150 This is the image from CF in which it is showing 16. (published)
en1 English protons 2021-05-06 06:34:18 354 This is the image from Vs code in which my answer is 10 (saved to drafts)