728x90
반응형
단순 문자열 문제이다.
for _ in range(int(input())):
i, s = input().split()
i = int(i); s = list(s)
s.pop(i-1)
print("".join(s))
728x90
반응형
'Agorithm > 백준 알고리즘' 카테고리의 다른 글
백준 알고리즘 2684번 동전 게임(python) (0) | 2021.02.25 |
---|---|
백준 알고리즘 2712번 미국 스타일(python) (0) | 2021.02.25 |
백준 알고리즘 2744번 대소문자 바꾸기(python) (0) | 2021.02.25 |
백준 알고리즘 1543번 문서 검색(python) (0) | 2021.02.25 |
백준 알고리즘 5724번 파인만(python) (0) | 2021.02.25 |