Hack
Now
EN
Login
Register
HackNow
K flipdan keyin eng uzun 1lar (LeetCode 1004) | HackNow
Go back
Reading Mode
bar_chart
Problem
Statistics
send
Total
0
check_circle
AC
0
trending_up
Acceptance
0.0%
timer
Time
0ms
memory
Memory
0.0MB
Problem
Submissions
K flipdan keyin eng uzun 1lar (LeetCode 1004)
lock
UZ only
Oson
100 points
1500 ms
256 MB
Two Pointers
Input format
Output format
Constraints
Examples
1
1
Example #1
Input
11 2 1 1 1 0 0 0 1 1 1 1 0
Output
6
Solution editor
Python 3
Clear
Language
PYTHON
UTF-8
Tab
4 spaces
Ctrl
+
Enter
Submit
Submit