Showing Wrong Answer on First Test Case (Problem D ; Round 793)

Правка en1, от protons, 2021-05-06 06:34:18

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?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский protons 2021-05-06 06:38:11 150 This is the image from CF in which it is showing 16. (published)
en1 Английский protons 2021-05-06 06:34:18 354 This is the image from Vs code in which my answer is 10 (saved to drafts)