본문 바로가기

빙수달 게임 개발 노트

검색하기
빙수달 게임 개발 노트
프로필사진 빙수달

  • 분류 전체보기 (70)
    • Programming (65)
      • 백준 (17)
      • 알고리즘 (19)
      • C++ (24)
      • WindowAPI (4)
      • C (1)
    • Devpedia : Game (3)
    • Dev Log : Game (2)
      • 유니티(Unity) (2)
      • 포트폴리오 (0)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2026/01   »
일 월 화 수 목 금 토
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
  • 프로그래밍
  • 반복문
  • if문
  • 단위변환
  • 최댓값
  • 아스키 코드
  • 구조체
  • for문
  • 코테
  • boj
  • WindowAPI
  • C++
  • 함수
  • 윈도우api
  • 자료구조
  • c#
  • 유니티
  • 문자열
  • 배열
  • string
  • 코딩테스트
  • CPP
  • 알고리즘
  • 코딩
  • 동적할당
  • 아틀라스
  • Unity
  • 백준
  • 정렬
  • 스프라이트
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록Insertion Sort (1)

빙수달 게임 개발 노트

[알고리즘] 단순 삽입 정렬(Straight Insertion Sort)

#include #include using namespace std;int main(){ const int num = 5; int arr[num] = { 0 }; for (int i = 0; i > arr[i]; } for (int i = 1; i = 0; j--) { if (temp > arr[j] ) { break; } else { arr[j+1] = arr[j]; // 값복사 arr[j] = temp; } } } f..

Programming/알고리즘 2025. 1. 8. 23:33
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바