반응형
250x250
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 |
Tags
- 카이스트
- 우선순위큐
- 프로그래머스
- 백준
- html
- glfw
- MySQL
- 궁동
- BFS
- 카이스트맛집
- 컴퓨터그래픽스
- node.js
- 타입스크립트
- 분리집합
- nodeJS
- 앱개발
- 리사이클러뷰
- 대전맛집
- 후기
- 몰입캠프후기
- 프래그먼트
- 안드로이드스튜디오
- 위상정렬
- 알고리즘
- 자바스크립트
- DP
- 자바
- computergraphics
- 어은동맛집
- 몰입캠프
Archives
- Today
- Total
목록백트래킹 (1)
소근소근
[백준 BOJ 17218 glod5 - 비밀번호 만들기] Longest Common String (LCS) C++
백준 17218 https://www.acmicpc.net/problem/17218 17218번: 비밀번호 만들기 첫째 줄과 둘째 줄에 수형이가 눈을 감고 만든 두 문자열이 주어진다. 문자열은 알파벳 대문자로만 이루어져 있으며, 길이는 최대 40자이다. 빈 문자열은 주어지지 않는다. 가장 긴 부분 문자열 www.acmicpc.net 이렇게 두개의 문자열에서 가장 긴 공통 수열을 찾고, 그 수열을 출력해야 하는 문제이다. 2차원 배열을 이용한 dp로 해결할 수 있다. #include #include #include #include #include #include #include #include using namespace std; int alpha[41][41]; char str1[41]; char str..
Algorithm
2022. 1. 4. 14:47