Beakjoon&프로그래머스/파이썬
[백준/파이썬] 26742번 Skarpetki
현장
2023. 1. 8. 19:37
-Code
s = input()
print(s.count('B') // 2 + s.count('C') // 2)