본문 바로가기
python-algorithm

백준 2902 KMP는 왜 KMP일까?

by 무적김두칠 2022. 1. 19.

1
2
3
4
5
s=list(input().split('-'))
answer=''
for i in s:
    answer+=i[0]
print(answer)
cs

 

반응형

'python-algorithm' 카테고리의 다른 글

백준 11944 NN  (0) 2022.01.19
백준 2857 FBI  (0) 2022.01.19
백준 4597 패리티  (0) 2022.01.19
백준 3183 Dates  (0) 2022.01.19
백준 2948 2009년  (0) 2022.01.19

댓글