9375 (1) ์ธ๋ค์ผํ ๋ฆฌ์คํธํ [Python] ๋ฐฑ์ค #9375 - ํจ์ ์ ์ ํด๋น ๋ฌธ์ https://www.acmicpc.net/problem/9375 9375๋ฒ: ํจ์ ์ ์ ํด๋น ์ฒซ ๋ฒ์งธ ํ ์คํธ ์ผ์ด์ค๋ headgear์ ํด๋นํ๋ ์์์ด hat, turban์ด๋ฉฐ eyewear์ ํด๋นํ๋ ์์์ด sunglasses์ด๋ฏ๋ก (hat), (turban), (sunglasses), (hat,sunglasses), (turban,sunglasses)๋ก ์ด 5๊ฐ์ง ์ด๋ค. www.acmicpc.net ํ์ด import sys n = int(input()) for i in range(n): dic = {} m = int(input()) for j in range(m): x = sys.stdin.readline().strip().split() if x[1] in dic: dic[x[1]] +=1 el.. ์ด์ 1 ๋ค์