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 | 31 |
Tags
- GeeksForGeeks
- 프로그래머스
- UE5
- const
- directx
- IFileDialog
- Frustum
- 팰린드롬 만들기
- 1563
- 2294
- winapi
- UnrealEngine4
- softeer
- RootMotion
- Programmers
- baekjoon
- DirectX11
- C++
- 줄 세우기
- algorithm
- 언리얼엔진5
- C
- 절두체 크기
- 가장 큰 정사각형
- 백준
- NRVO
- RVO
- UnrealEngine5
- 절두체
- DeferredRendering
Archives
- Today
- Total
목록타겟 넘버 (1)
Game Develop
[Algorithm] Programmers :: 타겟 넘버
https://programmers.co.kr/learn/courses/30/lessons/43165?language=cpp 코딩테스트 연습 - 타겟 넘버 n개의 음이 아닌 정수들이 있습니다. 이 정수들을 순서를 바꾸지 않고 적절히 더하거나 빼서 타겟 넘버를 만들려고 합니다. 예를 들어 [1, 1, 1, 1, 1]로 숫자 3을 만들려면 다음 다섯 방법을 쓸 수 programmers.co.kr 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 int answer = 0; void DFS(int n, int sum, int target, bool isAdd, vector& numbers) // 배열인덱스 { if (isAdd) sum += num..
Algorithm/Programmers
2022. 5. 19. 21:28