Notice
Recent Posts
Recent Comments
Link
«   2025/07   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Tags
more
Archives
Today
Total
관리 메뉴

빠똥빠똥

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

백준

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