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