Greedy Algorithm Greedy algorithm From Wikipedia, the free encyclopedia Jump to: navigation, search The greedy algorithm determines the minimum number of US coins to give while making change. These are the steps a human would take to emulate a greedy algorithm. The coin of the highest value, less than the remaining change owed, is the local optimum. (Note that in general the change-making problem requires dynami.. 더보기 cin, cout vs scanf, printf C++코딩으로 다시 돌아온 시점에…. 헤더파일 뭐 썼었는지도 기억이 안나는건..ㅠㅠ 부끄럽다.. 오늘부터 차근차근 다시 읽어가기+_+ 언뜻 보기에도 cin이 scanf보다는 훨씬 더 좋아 보인다. 입출력 객체는 C 표준 라이브러리의 printf, scanf함수에 비해 많은 장점을 가지고 있다. ① 사용 방법이 훨씬 더 직관적이다. 출력할 때는 > 연산자로 입력받은 값을 변수로 보내는 모양을 하고 있어 사용하기 쉽다. 연산자의 머리 부분이 입출력 방향을 명시하므로 모양대로 사용하면 된다. ② 입출력 객체가 데이터의 타입을 자동으로 판별하기 때문에 서식을 일일이 기억할 필요도 없고 서식을 잘못 적는 실수를 할 리도 없으니 안전하다. printf는 서식과 인수의 개수가 맞지 않거나 타입이 틀릴 경우 컴파일 에.. 더보기 HCI 관련 저널 (찾아볼것!) Primary Journals for HCI 더보기 이전 1 ··· 4 5 6 7 8 9 10 ··· 27 다음