ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1079. Maximum

why
Posted by CyberNinjaH23 26 Jan 2020 15:01
why is the 10th element 4? isn't it 3?
Re: Reason For Your Question
Posted by Gaurav Meena 21 Apr 2020 00:36
Ummm, I have got my answer accepted and I must tell you that you're right about the value is 3. Well, it's the answer value which is 4. Because 4 is the maximum value among all values up to the 10th index.
i.e.
0 1 1 2 1 3 2 3 1 {4} 3    <----- Respected Values
0 1 2 3 4 5 6 7 8 9 10   <----- INDEX

I hope that helped.
If not ping me. I'll send you my solution.
ping me at my ain't account - id (aquarius_gaurav).
Peace.

Edited by author 21.04.2020 00:36