백준

2941번 크로아티아 알파벳(문자열, replace, find) - ☆

조주똥 2020. 6. 17. 20:11

#문제링크 : https://www.acmicpc.net/problem/2941

※주의사항

1. string.replace(size_t index, size_t length(size), const string& str) string의 index번째부터 length만큼 str로 대체한다.

2. string.find(const string& str, size_t index) string의 index부터 str과 같은 문자열의 시작인덱스를 반환한다. 없으면 -1

Code