임창용
임창용
  • Видео 7
  • Просмотров 4 992
퐁게임 인공지능 실행
퐁게임 실행
Просмотров: 202

Видео

퐁게임 Ai 준비
Просмотров 1558 лет назад
window 7, vs2015, python 2.7, pygame
로봇 관절 자동 생성
Просмотров 998 лет назад
QT, OPenGL, C , STL
[둔컴] 대전 c언어 정보올림피아드 하노이탑
Просмотров 2,9 тыс.8 лет назад
이 동영상은 RUclips 동영상 편집기(ruclips.net/user/editor)로 만들었습니다.
[둔컴] 대전 C언어 1 1 hello
Просмотров 328 лет назад
[둔컴] C언어 교육 동영상

Комментарии

  • @dunsan2000
    @dunsan2000 5 лет назад

    test

  • @dunsan2000
    @dunsan2000 5 лет назад

    test

  • @juntae3756
    @juntae3756 7 лет назад

    코드좀 알 수 있을까요??ㅠㅠㅠ

  • @shinwoosup
    @shinwoosup 8 лет назад

    원반이 하나씩 움직여야 할것 같은데요. 왜 다들. 재귀 호출 함수'로 횟수만 맞춰놨는지 모르겠네요. 이거로 확인하니. 이동한 원반번호'의 순서와 출력결과의 첫자리'가 일치했습니다. codepad.org/ganabVRw 스크랫치 프로그램도 있네요. (메뉴에서 터보모드'로 하시면. 더 빠릅니다.) scratch.mit.edu/projects/28738/#editor #include <stdio.h> #include <stdlib.h>void hanoi( int n, int a, int b, int c ) { if ( n > 0 ) // STOP 조 { hanoi( n-1, a, c, b ); // printf(" Move disk from %d to %d. ", a, b); // 실제 disk를 이동하는 부분 printf("%d %d %d %d ", n, a, b, c); hanoi( n-1, c, b, a ); } else { return; } } int main(void) { int n; //원반 갯수 int a = 0, b = 1, c = 2; //기둥 printf("<hanoi> input number of disk: "); // scanf("%d", &n); n = 4; hanoi( n, a, b, c ); return 0; }1 0 2 1 2 0 1 2 1 2 1 0 3 0 2 1 1 1 0 2 2 1 2 0 1 0 2 1 4 0 1 2 1 2 1 0 2 2 0 1 1 1 0 2 3 2 1 0 1 0 2 1 2 0 1 2 1 2 1 0