파일 업로드

🎨AI 리소스 생성

프롬프트 없음

소와 닭의 함께 길 건너기

profile
실행 시간 제한메모리 제한
2 초512 MB
📃 해결할 문제
💻 입력
🖨️ 출력

💻 예제 입력 1
5 4
7
8
6
2
9
2 5
4 9
0 3
8 13
🖨️ 예제 출력 1
3

출처: USACO 2017 February Contest, Silver Problem 1. Why Did the Cow Cross the Road