Hack
Now
EN
Login
Register
HackNow
Yomg'ir suvi yig'ilishi (LeetCode 42) | HackNow
Go back
Reading Mode
Problem
Submissions
Yomg'ir suvi yig'ilishi (LeetCode 42)
lock
UZ only
Oson
100 points
1500 ms
256 MB
Input format
Output format
Constraints
Examples
1
1
Example #1
Input
12 0 1 0 2 1 0 1 3 2 1 2 1
Output
6
Solution editor
Python 3
Clear
Language
PYTHON
UTF-8
Tab
4 spaces
Ctrl
+
Enter
Submit
Submit