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
- 우선순위 큐
- 다이나믹 프로그래밍
- 유니티
- c++
- DFS
- 브루트포스
- 문자열
- 스택
- ue5
- 트리
- 누적 합
- 그리디 알고리즘
- 유니온 파인드
- Unreal Engine 5
- BFS
- 구현
- VR
- 백트래킹
- 시뮬레이션
- 재귀
- 다익스트라
- XR Interaction Toolkit
- 백준
- 자료구조
- 투 포인터
- 수학
- 알고리즘
- 정렬
- 그래프
- Team Fortress 2
Archives
- Today
- Total
목록백준 11728 C++ (1)
1일1알

이미 정렬되어있는 배열 두개를 합치는 것이기 때문에 앞쪽부터 비교하면서 작은 순서대로 새로운 배열에 넣어주었다. #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; using ll = long long; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); int n, m; cin >> n >> m; int p1 = 0; int p2 = 0; vector v1(n); vector v2(m); vector ans;..
알고리즘
2022. 5. 13. 22:56