Programming/CS 503 [퀵 정렬] 개념 정리 피벗 값 설정시 가장 앞에 있는 숫자로 설정함 기준점보다 왼쪽은 작고 오른쪽은 숫자의 크기가 큼 평균 속도가 N*log2N 분할을 해서 각자 정렬해서 나중에 합치기 때문에 엄청 빨라짐 2023. 3. 24. [cs50] Day 17 const title = document.querySelector("div.hello:first-child h1"); function animation(){ title.style.color= "blue"; } function animation2(){ title.innerText="whoala"; } function handleWindowResize(){ document.body.style.backgroundColor="black"; } title.addEventListener("click", animation); title.addEventListener("mouseenter", animation2); window.addEventListener("resize", handleWindowResize); CS .. 2023. 2. 24. [CS 50] 네이버 부스트코스 시작! CS 50 1. string answer = get_string("what's your nameˀ?ˀˀ?ˀ); = assign the variable from right to left 2. string answer = get_string("what's your nameˀ?ˀˀ?ˀ); print("hello, %s \n", answer); 3. boolean expression: true or false question char = single character ex, y or n 4. forever= while 5. int i=0; make float ./float #include #include int main(void) { float price = get_float ("what's your price.. 2023. 2. 20. 이전 1 다음