You are viewing a single comment's thread. Return to all comments →
Why the result of Sample Input 1 is 19? 1,2,1,2,1,2,3,4,2,1. After 4 should be 1, I do not understood why is 2.
Seems like cookies are disabled on this browser, please enable them to open this website
Candies
You are viewing a single comment's thread. Return to all comments →
Why the result of Sample Input 1 is 19? 1,2,1,2,1,2,3,4,2,1. After 4 should be 1, I do not understood why is 2.