6413번 - Clock Patience
1. 입력의 순서
- The deck is listed from bottom to top, so the first card dealt is the last card listed.
2. 시뮬레이션의 끝나는 조건(더미에 뒷면 카드가 없을 때 즉시 시뮬레이션이 종료되는 게 아니라, 뒷면 카드가 없는 더미가 지목 당했을 때 종료됨)
- The game ends when the pile indicated by the current card has no face down cards in it.
3. 출력의 형태1
- (2 digits, with a leading zero if necessary)
4. 출력의 형태2
- 케이스가 여러개 들어 올 수 있으므로 출력의 마지막에 "\n"을 넣어줍시다.
댓글을 작성하려면 로그인해야 합니다.
fourthrun 8달 전
1. 입력의 순서
- The deck is listed from bottom to top, so the first card dealt is the last card listed.
2. 시뮬레이션의 끝나는 조건(더미에 뒷면 카드가 없을 때 즉시 시뮬레이션이 종료되는 게 아니라, 뒷면 카드가 없는 더미가 지목 당했을 때 종료됨)
- The game ends when the pile indicated by the current card has no face down cards in it.
3. 출력의 형태1
- (2 digits, with a leading zero if necessary)
4. 출력의 형태2
- 케이스가 여러개 들어 올 수 있으므로 출력의 마지막에 "\n"을 넣어줍시다.