Category
Similar Problems
0285. Ikki kesma kesishishi
Time limit : 1000 ms
Memory limit : 64 mb
Uchlari
Kiruvchi ma’lumotlar: Dastlabki
Chiquvchi ma’lumotlar: Birinchi qatorda agar kesmalar kesishsa
Input |
---|
0 0 1 1 0 1 1 0 |
Output |
YES |
Input |
---|
0 0 1 0 2 0 3 0 |
Output |
NO |