Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Dijkstra
- dfs
- 코테준비
- 리시프
- DP
- vector
- sql고득점kit
- C++
- MAP
- substr
- String
- 프로그래머스
- 다익스트라
- 정렬
- 다이나믹프로그래밍
- 우선순위큐
- 코테
- MySQL
- 참고 문헌 : MACHINE LEARNING 기계학습 _ 오일석
- set
- 코딩테스트연습
- 스택
- 문자열
- unordered_map
- 알고리즘
- 플로이드와샬
- 시스템콜
- 동적계획법
- 최대공약수
- 백준
Archives
- Today
- Total
목록문자열 (2)
YeJin's Footsteps

https://programmers.co.kr/learn/courses/30/lessons/81301 코딩테스트 연습 - 숫자 문자열과 영단어 네오와 프로도가 숫자놀이를 하고 있습니다. 네오가 프로도에게 숫자를 건넬 때 일부 자릿수를 영단어로 바꾼 카드를 건네주면 프로도는 원래 숫자를 찾는 게임입니다. 다음은 숫자의 일부 자 programmers.co.kr #include #include #include #include using namespace std; unordered_map m; void make_map(){ m["zero"]="0"; m["one"]="1"; m["two"]="2"; m["three"]="3"; m["four"]="4"; m["five"]="5"; m["six"]="6"; m["..
Computer Science & Engineering/알고리즘
2021. 9. 10. 22:30

문제 링크 https://programmers.co.kr/learn/courses/30/lessons/60057 코딩테스트 연습 - 문자열 압축 데이터 처리 전문가가 되고 싶은 "어피치"는 문자열을 압축하는 방법에 대해 공부를 하고 있습니다. 최근에 대량의 데이터 처리를 위한 간단한 비손실 압축 방법에 대해 공부를 하고 있는데, 문 programmers.co.kr 문제 풀이 코드 #include #include #include #include using namespace std; int solution(string s) { int len=s.size(); int answer = len; for(int i=1; i
Computer Science & Engineering/알고리즘
2021. 7. 30. 23:34