ENG
RUS
Timus 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
1998
. The old Padawan
Some Test Cases
Posted by
Aditya Singh
17 Sep 2018 12:24
1 4 1
1
1 2 3 4
Ans 5
6 5 50
1 4 6 6 2 5
2 5 10 14 15
Ans 21
6 5 4
1 4 6 6 2 5
2 5 10 14 15
Ans 13
9 5 4
2 4 2 5 3 1 7 2 3
5 6 9 10 14
Ans 22
© 2000–2024
Timus Online Judge Team
. All rights reserved.