[Softeer - level2] [21๋
์ฌ์ง์ ๋ํ ์์ ] ๋น๋ฐ ๋ฉ๋ด
ยท
Algorithm/Softeer
import sys input = sys.stdin.readline # ์ํ๊ธฐ์ ์ด k๊ฐ์ ๋ฒํผ ์กด์ฌ (1~k) # ๋น๋ฐ๋ฒํธ = m๊ฐ์ ๋ฒํผ ์์๋๋ก ๋๋ฅด๊ธฐ # ์ฌ์ฉ์๊ฐ n๊ฐ์ ๋ฒํผ ๋๋ฆ m, n, k = map(int,input().split()) password_list = input().split() client_list = input().split() password = "" client = "" for x in password_list: password += x for x in client_list: client += x if password in client: print("secret") else: print("normal") join ํจ์๋ฅผ ์ฌ์ฉํ์ง ์์ ์ฝ๋๊ฐ ๊ธธ์ด์ง ๋ฌธ์์ด ํฉ์น๊ธฐ - jo..