Hack
Now
EN
Login
Register
HackNow
Daraxt diametri | HackNow
Go back
Reading Mode
Problem
Submissions
Daraxt diametri
lock
UZ only
Oson
100 points
5 s
256 MB
Input format
Output format
Constraints
Examples
1
1
Example #1
Input
5 1 2 3 2 3 2 2 4 5 4 5 1
Output
9
Solution editor
Python 3
Clear
Language
PYTHON
UTF-8
Tab
4 spaces
Ctrl
+
Enter
Submit
Submit