본문 바로가기

C++197

[DirectX12 - Initialize] Chapter 08. Depth Stencil View GitHub : https://github.com/developeSHG/DX12-Initialize/commits/08.Depth_Stencil_view GitHub - developeSHG/DX12-Initialize: DirectX12 - 초기화 DirectX12 - 초기화. Contribute to developeSHG/DX12-Initialize development by creating an account on GitHub. github.com 2023. 6. 2.
[DirectX12 - Initialize] Chapter 07. Texture Mapping GitHub : https://github.com/developeSHG/DX12-Initialize/commits/07.Texture_Mapping GitHub - developeSHG/DX12-Initialize: DirectX12 - 초기화 DirectX12 - 초기화. Contribute to developeSHG/DX12-Initialize development by creating an account on GitHub. github.com 2023. 6. 2.
[DirectX12 - Initialize] Chapter 06. Index Buffer GitHub : https://github.com/developeSHG/DX12-Initialize/commits/06.Index_Buffer GitHub - developeSHG/DX12-Initialize: DirectX12 - 초기화 DirectX12 - 초기화. Contribute to developeSHG/DX12-Initialize development by creating an account on GitHub. github.com 2023. 6. 2.
[DirectX12 - Initialize] Chapter 05. Root Signature GitHub : https://github.com/developeSHG/DX12-Initialize/commits/05.Root_Signature GitHub - developeSHG/DX12-Initialize: DirectX12 - 초기화 DirectX12 - 초기화. Contribute to developeSHG/DX12-Initialize development by creating an account on GitHub. github.com 2023. 6. 2.
[Programmers] Lv 2. 멀리 뛰기 https://school.programmers.co.kr/learn/courses/30/lessons/12914 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr #include #include #include long long solution(int n) { long long arr[2001] = { 1, 1 }; for (int i = 2; i 2023. 6. 2.
[Programmers] Lv 2. N개의 최소공배수 ttps://school.programmers.co.kr/learn/courses/30/lessons/12953 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr #include #include #include using namespace std; int solution(vector arr) { int loop = 1; // 첫번째 원소를 기준으로 최소공배수를 구함. // 다른 원소가 (첫번째 원소 * loop)를 나눈 나머지 값이 있으면 공배수가 아닌 것으로 판단. while (::any_of(arr.begin(), arr.end(), [=](const a.. 2023. 6. 1.
[DirectX12 - Initialize] Chapter 04. Constant Buffer GitHub : https://github.com/developeSHG/DX12-Initialize/commits/04.Constant_Buffer GitHub - developeSHG/DX12-Initialize: DirectX12 - 초기화 DirectX12 - 초기화. Contribute to developeSHG/DX12-Initialize development by creating an account on GitHub. github.com 2023. 5. 31.
[DirectX12 - Initialize] Chapter 03. 삼각형 띄우기 GitHub : https://github.com/developeSHG/DX12-Initialize/commits/03.%EC%82%BC%EA%B0%81%ED%98%95_%EB%9D%84%EC%9A%B0%EA%B8%B0 GitHub - developeSHG/DX12-Initialize: DirectX12 - 초기화 DirectX12 - 초기화. Contribute to developeSHG/DX12-Initialize development by creating an account on GitHub. github.com 2023. 5. 31.
[Programmers] (Summer/Winter Coding(~2018)) Lv 2. 점프와 순간 이동 https://school.programmers.co.kr/learn/courses/30/lessons/12980 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr #include using namespace std; int solution(int n) { int ans = 1; // 이진법에서 1의 수가 총 점프 수. while (n / 2) { if (n % 2) // 홀수일 경우 { --n; ++ans; } n /= 2; } return ans; } GitHub : https://github.com/developeSHG/Algorithm-Baekjoon.. 2023. 5. 31.
[Programmers] (2017 팁스타운) Lv 2. 예상 대진표 https://school.programmers.co.kr/learn/courses/30/lessons/12985 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr #include #include #include using namespace std; class Command { public: Command(const int& a, const int& b) : _a(a), _b(b) { } const bool operator() () { return _a != _b; } public: void vs() { _a = (_a + 1) >> 1; _b = (_b +.. 2023. 5. 31.