Notice
Recent Posts
Recent Comments
Link
목록Insertion Sort (1)
빙수달 게임 개발 노트
#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