백준 BAEKJOON 11008번 복붙의 달인 [PYTHON/파이썬][목차여기] (SILVER Ⅴ)https://www.acmicpc.net/problem/11008 replace()를 사용하여 복사한 문자를임의의 문자로 바꿔준 뒤 len()을 통해 문자열의 길이를 출력하면 된다.(나는 @ 문자로 바꿔주었다.) T = int(input())for _ in range(T): s, p = input().split() result = s.replace(p, "@") print(len(result))