Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[boj_80816] python Counter 모듈 솔루션 분석 및 Counter 모듈 cheatsheet 정리 #1

Open
KIMBIBLE opened this issue May 4, 2021 · 0 comments
Assignees
Labels

Comments

@KIMBIBLE
Copy link
Owner

KIMBIBLE commented May 4, 2021

problem solution from hsh0322

import sys
r = sys.stdin.readline
from collections import Counter
_, c, _ = r(), Counter(r().split()), r()
print(' '.join(str(c[m]) if m in c else '0' for m in r().split()))
@KIMBIBLE KIMBIBLE added the todo label May 4, 2021
@KIMBIBLE KIMBIBLE self-assigned this May 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant