Hack
Now
EN
Login
Register
HackNow
Bir vaqtda maksimal yig'ilishlar | HackNow
Go back
Reading Mode
Problem
Submissions
Bir vaqtda maksimal yig'ilishlar
lock
UZ only
Qiyin
30 points
2 s
256 MB
Input format
Output format
Constraints
Examples
2
1
Example #1
Input
3 1 4 2 5 7 9
Output
2
2
Example #2
Input
4 1 10 2 3 4 5 6 7
Output
2
Solution editor
Python 3
Clear
Language
PYTHON
UTF-8
Tab
4 spaces
Ctrl
+
Enter
Submit
Submit