728x90
- 식권 자판기의 버튼을 특정 순서대로 누르고 결제 하면 평소와 다른 색깔의 식권이 나옴 -> 비밀 식권
- K개의 자판기 버튼
- M개의 버튼 조작을 통해 비밀 메뉴 식원 발매
- N개의 사용자 버튼
M, N, K = map(int, input().split())
secret_list = list(map(int, input().split()))
user_list = list(map(int, input().split()))
secret_str = ' '.join(map(str, secret_list))
user_str = ' '.join(map(str, user_list))
if user_str.find(secret_str)!=-1:
print('secret')
else:
print('normal')
728x90
'STUDY > Python' 카테고리의 다른 글
[Softeer] 근무 시간 (0) | 2023.03.28 |
---|---|
[Softeer] 주행거리 비교하기 (0) | 2023.03.27 |
[Softeer] 장애물 인식 프로그램 파이썬 (0) | 2023.03.19 |
[프로그래머스] 최빈값 구하기 (0) | 2023.03.08 |
[프로그래머스] 햄버거 만들기 (0) | 2023.03.08 |