Toggle navigation
CGOJ
F.A.Qs
ProblemSet
Source/Category
Status
Ranklist
Contest
Login
Language
中文
ئۇيغۇرچە
English
فارسی
ไทย
한국어
Problem C: Zone Selection
Problem C: Zone Selection
[Creator :
]
Time Limit :
1.000
sec
Memory Limit :
128 MiB
Submit
ProblemList
Solved: 5
Submit Num: 6
Statistics
ShowOff!
Description
Input
Output
输出一行一个整数,为答案。
Sample Input
Copy
4 2 2 -1 0 0 -1 2 0 0 2 -1 0 0 2 3 0 0 0
Sample Output
Copy
1
HINT