- 신기호/중대생rpg(ver1.0) . . . . 113 matches
fscanf(state,"%d",&Main.level);
fscanf(state,"%d",&Main.base_hp);
fscanf(state,"%d",&Main.hp);
fscanf(state,"%d",&Main.base_att);
fscanf(state,"%d",&Main.base_def);
fscanf(state,"%d",&Main.townNum);
fscanf(state,"%d",&Main.money);
fscanf(state,"%d",&num);
fscanf(state,"%d",&tmpInven.att);
fscanf(state,"%d",&tmpInven.def);
fscanf(state,"%d",&tmpInven.hp_plus);
fprintf(state,"level: %d\n",Main.level);
fprintf(state,"base_hp: %d\n",Main.base_hp);
fprintf(state,"hp: %d\n",Main.hp);
fprintf(state,"base_att: %d\n",Main.base_att);
fprintf(state,"base_def: %d\n",Main.base_def);
fprintf(state,"townNum: %d\n",Main.townNum);
fprintf(state,"money: %d\n",Main.money);
fprintf(state,"inven: %d\n",i_top+1);
fprintf(state,"att: %d\n",inven[i].att);
- ScheduledWalk/석천 . . . . 65 matches
scanf("%d%d", &boardRow, &boardCol);
printf ("%d, %d \n", boardRow, boardCol);
scanf("%d%d", &boardRow, &boardCol);
scanf("%d%d", &boardRow, &boardCol);
printf ("Board Size value : %d, %d \n", testReceiver.n1, testReceiver.n2);
scanf("%d%d", &startRow, &startCol);
printf ("Board Size value : %d, %d \n", testReceiver.n1, testReceiver.n2);
printf ("Start Position value : %d, %d \n", testReceiver.n1, testReceiver.n2);
scanf("%d%d", &boardRow, &boardCol);
scanf("%d%d", &startRow, &startCol);
printf ("Board Size value : %d, %d \n", inputData.boardSize.n1, inputData.boardSize.n2);
printf ("Start Position value : %d, %d \n", inputData.roachPosition.n1, inputData.roachPosition.n2);
scanf("%d%d", &boardRow, &boardCol);
scanf("%d%d", &startRow, &startCol);
printf ("total move count : %d \n", totalMoveCount);
printf ("total move count : %d \n", totalMoveCount);
printf ("Board Size value : %d, %d \n", inputData.boardSize.n1, inputData.boardSize.n2);
printf ("Start Position value : %d, %d \n", inputData.roachPosition.n1, inputData.roachPosition.n2);
scanf("%d%d", &boardRow, &boardCol);
scanf("%d%d", &startRow, &startCol);
- 새싹교실/2012/AClass/2회차 . . . . 56 matches
scanf("%d", &num);
printf("각 자리수들의 합 : %d \n",sum);
printf("%d",num);
printf("%d",num);
scanf("%d",&a);
printf("%d",num);
scanf("%d",&scan);
scanf("%d",&i);
scanf("%d", &num);
9.101부터200까지의 모든 정수를 더해서 반환하는 '함수'를 작성해주세요.(main문에는 sum=Sum(); printf("%d",sum);이 있도록해주세요)
printf("101부터 200까지의 합: %d\n",sum);
scanf("%d",&n);
printf("%d! = %d\n",n,factorial(n));
scanf("%d",&a);
printf("%d\n",factorial);
printf("%d\n",result);
printf("1이 %d번째에 있습니다.", count);
printf("2가 %d번째에 있습니다.\n", count);
printf("%d\n",list[i]);
printf("2차원 배열의 합=%d\n",sum);
- 새싹교실/2012/AClass/5회차 . . . . 49 matches
scanf("%d %d %d",&r,&e,&c);
scanf("%d %d %d", &a,&b,&c);
scanf("%d",&a);
printf("%d",sum+1);
scanf("%d %d",&n,&k);
printf("%d",sum);
scanf("%d",&a);
scanf("%d",&a);
scanf("%d",&a);
scanf("%d",&a);
printf("%d*%d=%d\n",a,i,a*i);
printf("%d*%d=%d ",j,i,j*i);
printf("pop : %d\n",n);
printf("pop : %d\n",n);
printf("pop : %d\n",n);
printf("pop : %d\n",n);
printf("pop : %d\n",n);
printf("pop : %d\n",n);
printf("pop : %d\n",n);
printf("%d %d",a,b);
- 새싹교실/2012/AClass/3회차 . . . . 45 matches
scanf("%d %d",&a,&b);
printf("%d",a+b);
scanf("%d %d",&a,&b);
printf("%d %d",a/b,a%b);
printf("%d",c[j][p]);
printf("%d", c[j][p]);
printf("%d\n",*a);
printf("%d\n",idx);
printf("%d\n",idx);
printf("id : %d\n",stu.id);
printf("age : %d\n",stu.age);
printf("%d ",ptr[i][j]);
printf("pop : %d\n",n);
printf("pop : %d\n",n);
printf("pop : %d\n",n);
scanf("%d", &insert_num);
printf("%d " ,queue[j]); printf("\n");
printf("%d\n", queue[j]);
printf("%d\n",&a); //포인터 변수 a의 주소
printf("%d\n",a); //a가 가리키고 있는 주소값
- 덜덜덜/숙제제출페이지 . . . . 44 matches
scanf("%d", &a);
printf("%d * %d = %dn", a, b, a*b);
scanf("%d", &a );
printf("%d * %d = %dn", a, b, a*b);
scanf("%d", &b);
printf("%d * %d = %dn", b, a, b*a);
scanf("%d단", &a);
printf("%d * %d = %dn", a, b, a*b);
scanf("%d" , &a);
printf("%d * %d = %d n", a, b, a*b);
scanf("%d", &a);
printf("%d 단 입니다.nn", a);
printf("%d * %d = %dn", a, b, a*b);
scanf("%d, &i");
printf(%d*%d=%dn", i,j,i*j);
scanf(" %d", &korean[a]);
scanf(" %d", &english[a]);
scanf(" %d", &math[a]);
printf("%s의 평균은 %d이다.", name[a], average[a]);
scanf("%d" , &korean[a]);
- 새싹교실/2011/데미안반 . . . . 41 matches
* [이준영] - C언어의 기초적인 내용에 대해 다시 배울 수 있었습니다. 생각나는거로는 %d가 생각나네요.
printf("두 수의 덧셈: %d\n", val1+val2);
printf("두 수의 뺄셈: %d\n", val1-val2);
printf ("%d\n",val1*val2);
printf ("%d\n", val1/val2);
printf("%d\n", val1%val2);
scanf("%d %d", &val1, &val2);
printf("%d번째 출력\n",i);
printf("%d번째 출력\n",i);
printf("%d번째 출력\n",i);
printf("j for문 실행 전 i값=%d\n",i);
printf("여기는 안쪽 for문! j=%d\n",j);
printf("j for문 실행 후 i값=%d\n",i);
scanf("%d",&choice);//정수형 숫자 입력 받음
scanf("%d",&choice);//정수형 숫자를 입력받음
scanf("%d",&h);
printf("%d ",num);
scanf("%d",&i);
printf("%d에서 %d 사이\n",min,max);
printf("%d에서 %d 사이\n",min,max);
- 새싹교실/2012/아우토반/앞반/5.10 . . . . 36 matches
printf("%d\n", a);
printf("%d\n", &a);
printf("%d\n", p);
printf("%d\n", *p);
printf("%d\n", &p);
printf("%d %d\n", sizeof(*pA), sizeof(pA));
printf("%d %d\n", sizeof(*pB), sizeof(pB));
printf("%d %d\n", sizeof(*pC), sizeof(pC));
printf("%d %d\n", sizeof(*pD), sizeof(pD));
printf("%d %d\n", sizeof(*pA), sizeof(pA)); //*pa의 문자열은 int(4), pA의 문자열은 int(4)
printf("%d %d\n", sizeof(*pB), sizeof(pB)); // pB의 문자열은 int(4), *pB의 문자열은 int(4)
printf("%d %d\n", sizeof(*pC), sizeof(pC)); // *pC의 문자열은 char(1), pC의(주소값)문자열은 int(4)
printf("%d %d\n", sizeof(*pD), sizeof(pD)); // *pD의 문자열은 double(8), pD의 (주소값)문자열은 int(4)
printf("원래 변수a에있던값 %d 랑 변수 b에있던 %d랑 바꼈다 캬캬캬 뿌잉뿌뿌",a,b);
printf("%d\n",a); --------->처음에 변수a에 0을 대입했기 때문에, 결과값은 0
printf("%d\n",&a); --------->&연산자는 변수의 주소값을 출력하기때문에 결과값은 a의 주소값인 1767348
printf("%d\n",p); --------->변수p에 있는 값을 출력하므로, 결과값은 1767348
printf("%d\n",*p); --------->*연산자는 포인터변수가 저장하는 변수의 주소에 저장된 값을 출력하므로 &a에 있는 값은 0이므로
printf("%d\n",&p); --------->&연산자는 변수의 주소값을 출력하기때문에 결과값은 p의 주소값인 1767336
printf("%d %d\n", sizeof(*pA), sizeof(pA));
- 미로찾기/김영록 . . . . 32 matches
printf("(%d,%d)=>(%d,%d)로갓눼\n ",mouse.x+1,mouse.y+1,mouse.x,mouse.y);
printf("(%d,%d)=>(%d,%d)로갓눼\n ",mouse.x,mouse.y+1,mouse.x,mouse.y);
printf("(%d,%d)=>(%d,%d)로갓눼\n ",mouse.x-1,mouse.y+1,mouse.x,mouse.y);
printf("(%d,%d)=>(%d,%d)로갓눼\n ",mouse.x+1,mouse.y,mouse.x,mouse.y);
printf("(%d,%d)=>(%d,%d)로갓눼\n ",mouse.x-1,mouse.y,mouse.x,mouse.y);
printf("(%d,%d)=>(%d,%d)로갓눼\n ",mouse.x+1,mouse.y-1,mouse.x,mouse.y);
printf("(%d,%d)=>(%d,%d)로갓눼\n ",mouse.x,mouse.y-1,mouse.x,mouse.y);
printf("(%d,%d)=>(%d,%d)로갓눼\n ",mouse.x-1,mouse.y-1,mouse.x,mouse.y);
- 허아영/C코딩연습 . . . . 32 matches
scanf("%d", &pattern_num);
scanf("%d%c", &h, &shape);
scanf("%d %d", &a, &b);
printf("큰수는 %d입니다n", a);
printf("차 : %d - %d = %dn", a, b, a-b);
printf("큰수는 %d입니다n", b);
printf("차 : %d - %d = %dn", b, a, b-a);
scanf("%d %d", &a, &b);
printf("큰 수는 %d 입니다.n", Max);
printf("두 수의 차이는 %d입니다n", dif);
scanf("%d %d", &a, &b);
printf("큰 수는 %d 입니다.n", Max);
printf("두 수의 차이는 %d입니다n", dif);
printf("큰 수는 %d 입니다.n", Max);
printf("두 수의 차이는 %d입니다n", dif);
printf("%d / 2 = %dn", result*2,result);
scanf("%d", &num);
printf("%d", result);
printf("n 0의 갯수 : %dn", countbit(ch));
printf("단어의 수 : %d n", count+1);
- 새싹교실/2012/AClass/4회차 . . . . 29 matches
printf("%d %d",*c,**c);
printf("age : %d\n name : %s \n",stu[i].age,stu[i].name);
printf("%d ",a[i][j]);
printf("%d ",a[i][j]);
// printf("%d ",a[i]);
printf("777은 %d번째에 있습니다\n",find[i]);
printf("%d %d",*c,**c); // *c에는 a의 주소가 들어 가있고 **c에는 b의 값이 들어가 있다.
printf("%s\t%d\t%c\n",Std[i].name,Std[i].age,Std[i].sex);
printf("%d번째에 777 존재\n",i+1);
printf("%d개 존재\n",count);
printf("%d\n",a); //b의 주소
printf("%d\n",&a); //a의 주소
printf("%d\n",*a); //b의 값
printf("%d\n",b); //b의 값
printf("%d\n",&b); //b의 주소
printf("%d\n",c); //a의 주소
printf("%d\n",&c); //c의 주소
printf("%d\n",*c); //b의 주소
printf("%d %d",*c,**c);
printf("%s %d %d\n",aclass[i].name,aclass[i].num,aclass[i].age);
- 새싹교실/2012/주먹밥 . . . . 29 matches
scanf("%d %d %d",&a,&b,&c);
printf("%d %d %d",a,b,c);
scanf("%d", &num);
scanf("%d %d %d",&a,&b,&c);
else printf("%d %d %d",a,b,c);
printf("%d",a);
printf("%d %d\n",i,j);
printf("%d %d\n",i,j);
* a이름에는 첫번째 주소가 들어가있습니다. {{{ scanf("%d",a); }}} 는 이 배열의 첫번째 {{{ a[0] }}}을 가리키게 되죠.
printf("%d\n",func(1,2,3,4));
fprintf(stdout,"%d",5);
printf("%d",5);
fscanf(stdin,"%d",&a);
scanf("%d",&a);
printf("%d ",a[i]);
printf("sum : %d, fact : %d\n",sum,fact);
printf("sum : %d, fact : %d\n",sum,fact);
- 새싹C스터디2005/pointer . . . . 28 matches
printf("x = %d\ny = %d\n이 변수의 값을 교환합니다.\n", x, y);
printf("x = %d\ny = %d\n", x, y);
printf("x = %d\ny = %d\n이 변수의 값을 교환합니다.\n", x, y);
printf("x = %d\ny = %d\n", x, y);
printf("\narray[2]의 값은 %d입니다\n", array2);
printf("array[%d] = %d\n", i, aArray[i]);
printf("\t\t&pc=%d\tpc=%d\t*pc=%d\t**pc=%d\n", &pc, pc, *pc, **pc);
printf("\t\t&pb=%d\tpb=%d\t*pb=%d\n", &pb, pb, *pb);
printf("\t\t&a=%d\ta=%d\n\n\n\n", &a, a);
printf("\t\ta=%d\t\t*pb=%d\t\t**pc=%d\n", a, *pb, **pc);
printf("\t\t&a=%d\tpb=%d\t*pc=%d\n", &a, pb, *pc);
printf("\t\t&pb=%d\tpc=%d\n\n\n\n", &pb, pc);
- 복/숙제제출 . . . . 26 matches
scanf("%d",&input);
printf("%dX%d=%d\n",input,i,input*i);
scanf("%d",&in);
printf("%d * %d = %d\n", in, out, in*out);
scanf("%d",&i);
printf("%d*%d=%d\n",i,j,i*j);
printf("국어성적 : "); scanf("%d",&input_kore[i]); printf("\n");
printf("영어성적 : "); scanf("%d",&input_engl[i]); printf("\n");
printf("수학성적 : "); scanf("%d",&input_math[i]); printf("\n");
printf("%s의 성적의 평균은 %d입니다.\n",input_name[i],(input_kore[i]+input_engl[i]+input_math[i])/3);
printf("\n국어점수 : "); scanf("%d", kor[i]);
printf("\n수학점수 : "); scanf("%d", math[i]);
printf("\n영어점수 : "); scanf("%d", eng[i]);
printf("%s님의 평균점수는 %d입니다\n", name[j], sum[j]/3);
scanf("%d", kor[i]);
scanf("%d", eng[i]);
scanf("%d", math[i]);
printf("%s의 평균점수는 %d입니다\n",name[j],sum[j]/3);
scanf("%d", &edgeLength);
column = position%diagonalLength;
- AseParserByJhs . . . . 25 matches
fscanf (s, "%d", &pM->numVertex);
fscanf (s, "%d", &pM->numFaces);
fscanf (s, "%d", &pM->numTexVertex);
fscanf (s, "%d", &pM->numTexFaces);
fscanf (s, "%d ", &x);
fscanf (s, "%d %f ", &x, &w);
fscanf (s, "%d", &index);
fscanf (s, "%d", &index);
fscanf (s, "%d", &index);
fscanf (s, "%d", &index);
fscanf (s, "%d:", &index);
fscanf (s, "\tA:\t%d B:\t%d C:\t%d",
fscanf (s, "%d:", &index);
fscanf (s, "%d %d %d",
// fscanf (s, "%d", &(pM->pRotKey[nTmpCount].time)); fgetchar ();
fscanf (s, "%d", &(pM->pRotKey[nTmpCount].time)); fgetchar ();
fscanf (s, "%d", &(pM->pPosKey[nTmpCount2].time)); fgetchar ();
fscanf (s, "%d ", &index);
fscanf (s, "%d", &nBlendAssignIndex);
//fscanf (s, "%d %f %s", &index, &w, &tmp_name);
- SoJu/숙제제출 . . . . 25 matches
scanf("%d",&i);
printf("%d단입니다.\n",i);
printf("%d X %d = %d\n",i,j,i*j);
scanf ("%d",&j); //출력할 구구단을 입력받습니다.
printf(" %d x %d = %d \n",j,i,j*i);
scanf("%d",&i);
printf("%d*%d=%d\n",i,j,i*j);
scanf(" %d",&a);
printf("%dX%d=%d\n",a,i,i*a);
scanf("%d", &iGuguval);
printf("%d x %d = %d\n", iGuguval, (i+1), iGuguval * (i+1));
scanf("%d", &iTimes);
printf("%d * %d = %d\n", iTimes, i, iTimes * i);
- 수/구구단출력 . . . . 25 matches
scanf("%d",&Number);
printf("%d단\n",Number);
printf("%dX%d=%d\n",Number,i,Number*i);
scanf ("%d",& a);
printf("%dx%d=%d\n", a,b,a*b);
scanf("%d",&Numbers);
printf("%dX%d=%d\n",Numbers,Number,Numbers*Number);
scanf ("%d",&number);
printf ("<%d단>\n",number);
printf ("%dX%d=%2d\n",number,i,number*i);
scanf("%d", &i);
printf("%dx%d=%d\n", i, j, i*j);
scanf("%d", &num);
printf("%d x %d = %d\n", num, i, num*i);
- 새싹교실/2012/해보자 . . . . 24 matches
scanf("%d %d",&num1,&num2);
printf("num1: %d, num2: %d\n",num1, num2);
printf("after swap\nnum1: %d, num2: %d\n",num1, num2);
scanf_s("%d",&num);
scanf_s("%d",&year);
scanf_s("%d",&number);
scanf_s("%d",&number);
printf("%d",sum/count);
scanf_s("%d",&number);
scanf_s("%d",&number);
printf("%d",sum/count);
scanf("%d",&num);
printf("#%d ",i+1);
scanf("%d",&num);
printf("%d%d",tmp/2,tmp%2);
printf("%d",tmp%2);
- printf("%d",add(1,3));에서 add(1,3)의 자리엔 4의 값이 들어간다.
scanf("%d",&num1);
scanf("%d",&num2);
printf("%d",mean(num1,num2));
- 김재현 . . . . 22 matches
scanf("%d", &j);
scanf ("%d%d",&num1,&num2);
printf ("%d", ThreeNOneTwoNum(num1, num2));
printf("(b+%d) = %p *(b+%d) = %d (pf+%d) = %p *(pf+%d) = %.1f\n", i, (b+i), i, *(b+i), i, (pf+i), i, *(pf+i));
printf(" a %d\n", sizeof(a));
printf(" a[1] %d\n", sizeof(a[1]));
printf(" b %d\n", sizeof(b));
printf(" *b %d\n", sizeof(*b));
printf(" *(b+1) %d\n", sizeof(*(b+1)));
printf("a[%d]=%d *(b+%d)=%d\n", i, a[i], i, *(b+i));
printf("a[%d]=%d c[%d]=%d\n", i, a[i], i, c[i]);
- 데블스캠프2013/셋째날/머신러닝 . . . . 22 matches
fscanf(LABEL, "%d",&Labels[i]);
fscanf(LABEL, "%d\n",&Labels[19]);
fscanf(WORD, "%d,",&Words[i]);
fscanf(WORD, "%d\n",&Words[19]);
fscanf(TEST, "%d,",&Test_Word_Num[i]);
fprintf(PRINT,"%d,",1);
fprintf(PRINT,"%d,",0);
fscanf(file, "%d,", &target[i][j]);
fscanf(file, "%d", &target[i][j]);
printf("%d\n", j);
fprintf(outFile, "%d", test[1][i][0]);
fscanf(train_data, "%d,", &d);
fscanf(train_class, "%d,", &d);
// printf("%d, ", d);
printf("%d...\n", i);
printf("avr[%d] : %lf\n", i, avr[i]);
fscanf(train_data, "%d,", &d);
printf("%d...%d\n", i, new_sum[i]);
fprintf(result, "%d\n", idx+1);
fscanf(file, "%d,", &(target.data()[i][j]));
- 이연주/공부방 . . . . 22 matches
printf("%dX%d=%2d ",multiply_prev,multiply_next,multiply_prev*multiply_next);
* 잡다한 궁금증 : %d 랑 %2d 차이는 눈으로 확인했습니다만 왜 이렇게 되는거에요?
-뭔가 도움이 안될지도 모르지만;; %d는 그냥 변수에 저장되 있는 숫자의 자릿수를 그대로 받아서 출력하지만 %숫자d 같은경우는 안의 숫자만큼의 공간을 우선확보하고 변수안의 수를 읽어드리기 때문으로 알고있심 =0=;; 변수의 자리수가 안의 숫자를 오버해 버릴때의 문제는 나도 모르지만;; %.2f 같은경우는 소수점을 2자리까지만 표시를 하는게지 -_-!!! -[정수민]
printf("(pi+%d) = %p *(pi+%d) = %d (pf+%d) = %p *(pf+%d)
printf(" abc %d\n", sizeof(abc));
printf(" abc[1] %d\n", sizeof(abc[1]));
printf(" bcd %d\n", sizeof(bcd));
printf(" *bcd %d\n", sizeof(*bcd));
printf(" *(bcd+1) %d\n", sizeof(*(bcd+1)));
printf("a[%d]=%d *(b+%d)=%d\n", i, a[i], i, *(b+i));
printf("a[%d]=%d c[%d]=%d\n", i, a[i], i, c[i]);
- 김희성/MTFREADER . . . . 21 matches
fprintf(fp,"File 생성 %d년 %d월 %d일\n",time.wYear,time.wMonth,time.wDay);
fprintf(fp,"File 수정 %d년 %d월 %d일\n",time.wYear,time.wMonth,time.wDay);
fprintf(fp,"File 접근 %d년 %d월 %d일\n",time.wYear,time.wMonth,time.wDay);
fprintf(fp,"File 생성 %d년 %d월 %d일\n",time.wYear,time.wMonth,time.wDay);
fprintf(fp,"File 이름 수정 %d년 %d월 %d일\n",time.wYear,time.wMonth,time.wDay);
fprintf(fp,"File 접근 %d년 %d월 %d일\n",time.wYear,time.wMonth,time.wDay);
fprintf(fp,"File Name Size : %d\n",*((unsigned char*)offset+64));
fprintf(fp,"Bytes of Files : %d\n",i*BytesPerFileRecord);
fprintf(fp,"A number of Files : %d\n",filecounter);
- 새싹교실/2011/쉬운것같지만쉬운반/2011.3.29 . . . . 21 matches
2. 서식문자 ( %d )
printf("%d + %d = %d\n", 3, 4);
scanf("%d", x); //x는 int형 으로 선언되어 있다고 가정.
printf("%d + %d = %d\n", 3, 4);
scanf("%d", x); //x는 int형 으로 선언되어 있다고 가정.
printf("%d + %d = %d\n", 3, 4);
scanf("%d", x); //x는 int형 으로 선언되어 있다고 가정.
printf("%d + %d = %d\n", 3, 4 ''', 3+4''');
scanf("%d", '''&'''x); //x는 int형 으로 선언되어 있다고 가정.
printf("%d + %d = %d\n", 3, 4 , 3+4);
scanf("%d", &x); //x는 int형 으로 선언되어 있다고 가정.
- 새싹교실/2011/씨언어발전/2회차 . . . . 21 matches
scanf("%d",&x);
scanf("%d",&y);
printf("밑변 = %d 높이 = %d 넓이 = %d",x,y,result);
scanf("%d %d %d",&a,&b,&c);
printf("%d %d %d",a,b,temp);
scanf("%d",&a);
printf("%d %d %d %d ",(a/1000),(a%1000/100),(a%1000%100/10),(a%1000%100%10));
scanf("%d %d %d", &a,&b,&c);
printf("%d",big+small);
printf("%d",i);
- 날다람쥐 6월9일 . . . . 20 matches
그리고 printf("%d", a); 라는 명령어를 통해 바뀐 것을 확인할 수 있다.
포인터가 가리키는 곳의 값을 쓸 때는 앞에 *을 붙인다. 예) int a = 13; int* ap = &a; printf("%d %d", a, *ap);
printf("%d", c); // 결과값 : 27
printf("%d", a[0]);
왜 printf("%d", a); 와 같이 적으면 안되는지 알아보자.
물론 출력할 때는 printf("%d", *ap); 와 같이 a[0]을 출력할 수도 있다.
바로 위의 배열을 모두 출력하는데, printf("%d", *(ap + @))의 형태로 출력해보자. 여기서 모든 값들을 출력하려면 @에 각각 어떤 수가 들어가는지 직접 해보고 왜 그런지 설명하기.
printf("%d\n", *ap);
printf("%d\n", *(ap+1));
printf("%d\n", *(ap+2));
printf("%d\n", *(ap+3));
printf("%d\n", *(ap+4));
scanf("%s %d", NameC, NumC);// 포인터이므로 '&' 를 붙이지 않는다.
scanf("%s %d", Name1, &Num1);
scanf("%s %d", Name2, &Num2);
scanf("%s %d", Name3, &Num3);
printf("\n바뀐 결과 : %s %d %s %d %s %d\n", Name1, Num1, Name2, Num2, Name3, Num3);
- 새싹교실/2012/AClass/1회차 . . . . 19 matches
scanf(“%d%d”,&num1,&num2);
printf(“%d is equal to %d\n”, num1,num2);
printf(“%d is not equal to %d\n”, num1, num2);
printf(“%d is less than %d\n”, num1, num2);
printf(“%d is greater than %d\n”, num1, num2);
scanf(“%d”,&grade);
scanf(“%d”, &grade);
scanf(“%d”,&grade);
scanf(“%d”,&grade);
printf("%d\n",sum);
scanf("%d",&a);
printf("%d\n",a);
printf("%d\n",a);
printf("%d\n",a);
- 윤종하/지뢰찾기 . . . . 19 matches
scanf("%d %d",&tempX,&tempY);
scanf("%d",&iNumOfMine);
//printf("%d: %d %d\n",i,pos_data[i].X,pos_data[i].Y);
//fprintf(txtForDebug,"%d: %d %d\n",i,(int)pos_data[i].X,(int)pos_data[i].Y);
else printf("%d ",xIndex);
else if(xIndex==-1) printf("%d",yIndex);
printf("남은 지뢰의 개수: %d\n",iNumOfMine-iCurrentFindedMine);
printf("%d\a ",iSecond);
printf("%d\a\n",iSecond);
else printf(" %d",map[ypos][xpos].iNumOfMine);
scanf("%d %d",&tempX,&tempY);
scanf("%d %d",&tempX,&tempY);
- 정수민 . . . . 19 matches
for ( j = 2 ; j < 10 ; j++ )printf("%d*%d=%2d ", j, i, i*j );
scanf("%d", &count);
printf("game %d : ",g);
printf ("복권 %d개를 사서 당첨되었습니다.n", g-1 );
scanf ("%d%c%d",&forward ,&operation ,&backward );
printf ("답 : %dn",save);
scanf("%d", &count);
printf("GAME %d : ", save);
scanf("%d", &input_score) ;
printf("Enter a number for score[%d] : ", i);
scanf("%d", &score[i]);
printf ("n sum=%d, agv=%.1fnn max=%d, min=%dn",sum ,agv, max, min);
printf("nscore[%d] : %d, rank = %dn", i, score[i], k);
- One/구구단 . . . . 17 matches
scanf("%d", &number);
printf("당신이 알고 싶은 %d 단은 다음과 같습니다.\n", number);
printf("%d*%d=%d\n", number, count, number*count);
printf("구구단을 입력하세요");scanf("%d",&a);
printf("%d * %d= %d\n",a,b,a*b);
printf("단을 입력하세요."); scanf("%d",&i);
printf("%d * %d = %d\n",i,j,i*j);
scanf("%d",&a);
printf("%d * %d= %d\n",a,b,a*b);
- 미로찾기/최경현김상섭 . . . . 17 matches
printf("(%d,%d) ",nowr,nowc);
printf("(%d,%d) ",nowr,nowc);
printf("(%d,%d) ",nowr,nowc);
printf("(%d,%d) ",nowr,nowc);
printf("(%d,%d) ",nowr,nowc);
printf("(%d,%d) ",nowr,nowc);
printf("(%d,%d) ",nowr,nowc);
printf("(%d,%d) ",nowr,nowc);
printf("%d",count);
- 새싹교실/2011/學高/4회차 . . . . 17 matches
* %d: decimal integer
printf("가격(단위 원): "); scanf("%d",&price);
printf("조각 당 가격: %d\n",price/8);
scanf("%d %d %d",&x,&y,&z);
printf("%d+%d+%d+7=%d,x,y,z,x+y+z+7);
%d : 정수 %.2f :소수점이하 두자리까지 반올림
%d : 정수 출력
scanf("%d %d %d",&x,&y,&z);
printf("정수3개의 합에 7을 더한 값: %d\n", x+y+z+7);
%d 와 %f 도 배웠는데 d는 정수고 f는 소수점표현할때 쓰는걸 알았습니다 -
- 새싹교실/2012/AClass . . . . 17 matches
scanf("%d",&a);
printf("%d",a*a);
printf("%d",2*a);
scanf("%d",&n);
scanf("%d", &num);
9.101부터200까지의 모든 정수를 더해서 반환하는 '함수'를 작성해주세요.(main문에는 sum=Sum(); printf("%d",sum);이 있도록해주세요)
scanf("%d",&n);
printf("%d\n",fact(n));
printf("%d %d",*c,**c);
//printf("%d\n",tmp->data);
printf("%d\n",tmp->data);
scanf("%d",&n);
printf("%d ",tmp->data);
printf("%d\n",tmp->data);
printf("%d %d\n",a,b);
- WinSock . . . . 16 matches
printf ("Error : %d n", WSAGetLastError ());
printf ("Current : %d / %d (%d)n", dwLow, i, nSended);
printf ("error.. %dn", WSAGetLastError ());
printf ("create socket error.. %dn", WSAGetLastError ());
printf ("bind error.. %dn", WSAGetLastError ());
printf ("listen error.. %dn", WSAGetLastError ());
printf ("Error.... %dn", GetLastError ());
printf ("Error.... %dn", GetLastError ());
printf ("Data : %s (%d)n", szBuffer, dwDataReaded);
printf ("error.. %dn", WSAGetLastError ());
printf ("create socket error.. %dn", WSAGetLastError ());
printf ("Error.... %dn", GetLastError ());
printf ("Data Received... %d (%d)n", i, dwDataReaded);
- Calendar성훈이코드 . . . . 15 matches
printf(" January %d \n", year);
printf(" February %d \n", year);
printf(" March %d \n", year);
printf(" April %d \n", year);
printf(" May %d \n", year);
printf(" June %d \n", year);
printf(" July %d \n", year);
printf(" August %d \n", year);
printf(" September %d \n", year);
printf(" October %d \n", year);
printf(" November %d \n", year);
printf(" December %d \n", year);
printf("%d\t", day);
scanf("%d", &year);
scanf("%d", &first);
- OOP/2012년스터디 . . . . 15 matches
scanf("%d",&year);
scanf("%d %d",&eMonth,&eDate);
gotoxy(0*CELL,line); printf("%d - %d",year,month);
scanf("%d",&myYear);
printf("\n%d월\n",month);//몇월
printf("%d\t",date);
scanf("%d", &year);
printf("%d년 %d월\n", year, month);
else printf("%d\t", date);
scanf("%d%d", &sMonth, &sDate);
scanf("%d", &select);
- 새싹교실/2012/우리반 . . . . 15 matches
* printf를 사용하는 방법, %d란 무엇인가.
printf("%d %d",a,b);
printf("안녕하세요, 우리반입니다. 1+3=%d",c+b);
* %d, %c, 자료형, 절차지향, if-else,scanf,printf, else if
scanf("%d",&height);
scanf("%d",&height);
1.이번시간 배운 내용(자료형, %d, %c, 절차지향, if-else, scanf, printf, else if, ==, =, +=,>)을 글로 써서 정리해봅시다. 괄호안에 있는 단어들을 이용해서 써봐요. 각각의 단어들의 뜻을 나열해도 좋고, 수업시간에 한 것을 생각해가며 이러이러한 것은 주의해야한다 라는 형태로 줄글로 써도 좋아요. 단순히 정의만 쓰더라도 A4 반페이지는 될거같네요~.
* 복습 : %d
printf("%d\n",i);
printf("%d %d\n",fa,fb);
* printf,\n,\t,\a,\\,\",return 0; in main,compile, link, scanf, int ==> variables, c=a+b;, %d, + => operator, %,if, ==, !=, >=, else, sequential execution, for, a?b:c, total variable, counter variable, garbage value, (int), 연산우선순위, ++a a++ pre/post in/decrement operator, math.h // pow,%21.2d, case switch, break, continue, logical operator || && ! 등.
printf("%d %d",c,d);
- Marbles/조현태 . . . . 14 matches
scanf("%d",&beads);
scanf("%d %d",&x_1,&x_2);
scanf("%d %d",&y_1,&y_2);
printf("결과 : %d, %d",answer_1,answer_2);
scanf("%d",&beads);
scanf("%d %d",&x_1,&x_2);
scanf("%d %d",&y_1,&y_2);
printf("결과 : %d, %d",answer_1,answer_2);
- 새싹교실/2011/AmazingC/과제방 . . . . 14 matches
printf("%dx%d=%d\n",front,back,result);
printf("%d\n",a);
printf("%d\n",a);
for(m=1;m<=9;m++) printf("%d x %d = %d\n", n, m, (n*m));
else printf("%d\n", r);
else printf("%d\n",r);
printf("%d * %d = %d\n",dan,number,dan*number);
printf("%d ",number);
- 새싹교실/2013/록구록구/3회차 . . . . 14 matches
scanf("%d %d\n" &a, &b);
scanf("%d\n"&c);
printf("%d",a+b);
printf("%d",a-b);
printf("%d",a*b);
printf("%d",a/b);
scanf("%d %d",&a,&b);
scanf("%d",&c);
printf("답은 %d",a+b);
printf("답은 %d",a-b);
printf("답은 %d",a*b);
printf("답은 %d",a/b);
- 강희경/메모장 . . . . 13 matches
printf("\nEnter a number for score[%d] : ", count);
scanf("%d", &(aArray[count].score));
printf("%d\t", aArray[count].score);
printf("\n\nsum = %d, avg = %.1f", aArrayData->sum, aArrayData->avg);
printf("\n\nmax = %d, min = %d\n", aArrayData->max, aArrayData->min);
printf("\nscore[%d] : %d, rank = %d\n", count, aArray[count].score, aArray[count].rank);
scanf("%d", &money);
printf("%d. %c\n", i, beverage[i]);
scanf("%d", &beverageNumber);
printf("%d원이 반환됩니다.\n", money);
- 간단한C언어문제 . . . . 12 matches
printf("%d", i);
안옳다. 프린트에푸에있는 %f 가 %d로 바뀌면 더 예쁘게 출력될꺼같다.-[정수민]
printf("a=%d b=%d c=%dn", a, b, c);
printf("i=%d %4x(%4d) ", i, ss[i], ss[i]);
while(scanf("%d", &i), i)
printf("%d", i);
printf("%d", test.num1+test.num2);
printf("a = %d", a);
printf("a = %d");
printf("%d", mul(100));
- 김희성/리눅스계정멀티채팅 . . . . 12 matches
printf("%dth client connected\n",t_num);
printf("%dth client disconnected\n",t_num);
printf("%dth client disconnected\n",t_num);
printf("%dth client disconnected\n",t_num);
printf("%dth client's password : %s\n",t_num,buff_rcv);
printf("%dth client made new ID\n",t_num);
printf("%dth client disconnected\n",t_num);
printf("%dth client disconnected\n",t_num);
printf("%dth client's password : %s\n",t_num,buff_rcv);
printf("%dth client logined\n",t_num);
printf("\033[%d;%df",y,x);
- 새싹교실/2011/쉬운것같지만쉬운반/2011.4.6 . . . . 12 matches
printf("----- %d단 -----\n", i);
printf("%d * %d = %d\n", i, j, i*j);
printf("%d\n", i);
printf("%d\n", i);
printf("2*%d=%d\n", i, 고바기);
printf("%d\n", j);
printf("%d*%d=%d\n",i,j,a);
- 새싹교실/2012/아우토반/앞반/3.29 . . . . 12 matches
printf("sizeof(a) = %d \n", sizeof(a));
printf("sizeof(b) = %d \n", sizeof(b));
printf("sizeof(c) = %d \n", sizeof(c));
printf("sizeof(d) = %d \n", sizeof(d));
printf("sizeof(a) = %d, 크기는 %d \n",sizeof(a),sizeof(int));
printf("sizeof(b) = %d, 크기는 %d \n ",sizeof(b),sizeof(char));
printf("sizeof(c) = %d, 크기는 %d \n",sizeof(c),sizeof(float));
printf("sizeof(d) = %d, 크기는 %d \n ",sizeof(d),sizeof(double));
- 새싹교실/2013/록구록구/8회차 . . . . 12 matches
printf("%d\n", a[0]);
printf("%d\n", a[1]);
printf("%d\n", a[2]);
printf("%d\n", a[3]);
printf("%d\n", a[4]);
scanf("%d",&a[i]);
printf("합=%d\n",sum);
printf("평균=%d\n",average);
printf("%d\n",a[i]);
scanf("%d",&a[i]);
printf("총합 : %d\n",total);
printf("평균 : %d\n",average);
- 파스칼삼각형/허아영 . . . . 12 matches
scanf("%d", &row);
printf("%d ", pascaltri[i][j]);
scanf("%d %d", &col, &row);
printf("%d열 %d행 = %dn", col, row, pascaltri[col-1][row-1]);
scanf("%d %d", &col, &row);
printf("%d열 %d행 = %dn", col, row, result);
- i++VS++i . . . . 11 matches
scanf("%d", &i);
printf("%d", i);
scanf("%d", &i);
printf("%d", i); // 문제가 되는건 함수(i++)또는 함수(++i)이런데에서 문제가 생길거 같은데..
간단히 생각하면 되는 것이었습니다.. i++ 이나 ++i 모두 값(value)을 생성하는 연산자 입니다. 그러므로.. i 가 5 일때 i++ 의 값은 5이므로.. printf("%d", i) 는 5를 찍어주겠지요.
printf("%d", i);
printf("%d", i);
scanf("%d", &i);
printf("%d", ++i);
scanf("%d", &i);
printf("%d", i++);
- 데블스캠프2010/다섯째날/ObjectCraft/미션2/허준 . . . . 11 matches
printf("저글링1이 저글링2에 데미지 %d를 입혀서 저글링2의 HP가 %d가 되었습니다.\n", zeli1.att, zeli2.HP);
printf("저글링2이 저글링1에 데미지 %d를 입혀서 저글링1의 HP가 %d가 되었습니다.\n", zeli2.att, zeli1.HP);
printf("저글링%d이 저글링%d에 데미지 %d를 입혀서 저글링%d의 HP가 %d가 되었습니다.\n", a1.no, a2.no, damage, a2.no, a2.HP);
printf("저글링%d가 죽었습니다.\n", zeli2.no);
printf("저글링%d가 죽었습니다.\n", zeli1.no);
- 새싹교실/2011/씨언어발전/6회차 . . . . 11 matches
scanf("%d",&num);
printf("\n학생 %d의 점수를 입력하세요 :",i+1);
scanf("%d",p);
printf("학생%d : %d\n",i+1,*q);
scanf("%d",&a);
printf("학생점수 %d 개 입력해 \n",a);
scanf("%d",&*&*&*&*&*&*&*&*&*p);
printf("학생 %d 의 점수 : %d\n", i+1,*(q++));
&와 *은 서로 상쇄되어 scanf("%d",&*&*&*&*&*&*p); 이래 써도 되는 것을 알았다. ㅋㅋㅋㅋㅋㅋㅋㅋㅋ
- 데블스캠프2010/다섯째날/ObjectCraft/미션2/박재홍 . . . . 10 matches
printf("저글링 b가 저글링 a에게 데미지 %d를 입혀 HP가 %d가 되었습니다.\n",dam1,a.HP);
printf("저글링 a가 저글링 b에게 데미지 %d를 입혀 HP가 %d가 되었습니다.\n",dam2,b.HP);
printf("저글링 %d이 저글링 %d에게 데미지 %d를 입혀 HP가 %d가 되었습니다.\n",a.no,b.no,damage,b.HP);
printf("저글링 %d이 죽었습니다\n",b.no);
printf("저글링 %d가 죽었습니다\n",a.no);
- 데블스캠프2010/다섯째날/ObjectCraft/미션3/김상호 . . . . 10 matches
printf("저글링 %d이 저글링 %d에게 데미지 %d를 입혀 HP가 %d가 되었다.\n", a.name, b.name, a.gong, b.hp);
printf("저글링 %d이 전사했습니다.\n", b.name);
printf("저글링 %d이 저글링 %d에게 데미지 %d를 입혀 HP가 %d가 되었다.\n", this->name, b.name, this->gong, b.hp);
printf("저글링 %d이 전사했습니다.\n", b.name);
- 데블스캠프2012/첫째날/배웠는데도모르는C . . . . 10 matches
printf("%d년도 %d월 %d일\n",s_no.number.year,s_no.number.);
scanf("%d",&count);
scanf("%d%d%d",&s_no1.number[num].year,&s_no1.number[num].month,&s_no1.number[num].day);
printf("%d년도%d월%d일에 당신이 할 일정을 입력하시오:\n");
- 문제풀이/1회 . . . . 10 matches
print 'max=%d, min=%d'%(max(inputList),min(inputList))
print 'max=%d, min=%d'%(max(inputList),min(inputList))
print 'max=%d, min=%d'%maxMin
print 'max=%d, min=%d'%maxMin
print 'max=%d min=%d' % (max(inNums),min(inNums))
- 새싹교실/2012/개차반 . . . . 10 matches
* int는 정수를 나타내고자 할 때 사용하며 출력시 %d를 사용
* 배운 것 - %d (int), %f (float), %c (char)
printf("%d feet %f inch\n",feet,inch);
scanf("%d", &input);
printf("%d\n", output);
scanf ("%d", &num);
printf ("%d\n", num - 1);
printf ("%d\n", num - 2);
printf ("%d\n", num);
printf ("%d\n", num2);
- 최대공약수/허아영 . . . . 10 matches
scanf("%d %d", &x, &y);
printf("x = %d, y = %d\n GCD is %d", x, y, x2);
scanf("%d %d", &x, &y);
printf("The GCD of %d and %d is %d\n", x, y, x2);
- Robbery/조현태 . . . . 9 matches
scanf("%d %d %d", &cityWidth, &cityHeight, &keepTime);
scanf("%d", &numberOfMessage);
scanf("%d %d %d %d %d", &receiveTime, &left, &top, &right, &bottom);
- WinampPlugin을이용한프로그래밍 . . . . 9 matches
// printf ("%d,%d,%d\n", nch,bps,timestamp);
// printf ("%d,%d,%d\n", nch,bps,timestamp);
printf ("%d \n", in->version); // 플러그인 버전이 출력
printf(" %d ms\n", in->GetLength()); // 전체 play time (ms)
printf("current : %d ms\n", in->GetOutputTime()); // 진행중 play time (ms)
- 고한종/십자가돌리기 . . . . 9 matches
scanf_s("%d",&scale);
printf("회전수 : %d\n",spin);
printf("회전수 : %d\n",spin);
printf("회전수 : %d\n",spin);
printf("회전수 : %d\n",spin);
printf("회전수 : %d\n",spin);
printf("회전수 : %d\n",spin);
printf("회전수 : %d\n",spin);
printf("회전수 : %d\n",spin);
- 데블스캠프2013/다섯째날/구구단 . . . . 9 matches
printf("%dx%d = %d ",i,j,i*j);
printf("%d x %d = %d\n", base, inc, base*inc);
printf("%d * %d = %d\n", (Num/9+1), (Num)%9+1 , (Num/9+1)*((Num)%9+1));
- 새싹교실/2011/무전취식/레벨7 . . . . 9 matches
scanf("%d",&a[0]);
printf("%d",x[i]);
printf("%d",x[i]);
printf("%d %d\n",x,y);
printf("%d %d\n",x,y);
printf("%d %d\n",x,y);
- ComputerNetworkClass/Report2006/PacketAnalyzer . . . . 8 matches
printf("WSAStartup() failed: %d\n", GetLastError());
printf("Source Port: %d\n", usSourcePort);
printf("Dest Port: %d\n", usDestPort);
printf("WSASocket() failed: %d\n", WSAGetLastError());
printf("bind() failed: %d\n", WSAGetLastError());
printf("WSAIotcl(%d) failed; %d\n", dwIoControlCode,
printf("WSARecv() failed: %d\n", WSAGetLastError());
- MoniWikiPo . . . . 8 matches
msgid "%d comment"
msgstr "댓글 %d개"
msgid "%d comments"
msgstr "댓글 %d개"
msgid "%d day(s) left until %s."
msgid "%d day(s) passed from %s."
msgid "Total %d related pages"
msgstr "%d 개의 연관된 페이지"
- One/주승범 . . . . 8 matches
printf ("%d ", n) ;
printf("%d", n);
scanf ("%d", &a);
printf ("%d", a);
scanf ("%d", &a);
scanf ("%d", &a);
printf ("a[%d] %d\n", c, b);
- ㄷㄷㄷ숙제1 . . . . 8 matches
scanf("%d",&a);
printf("%d×%d=%d\n",a,i,a*i);
scanf("%d",&a);
printf("%d*%d=%d\n",a,b,a*b);
- 고한종/swap() . . . . 8 matches
printf("%d,%d\n",a,b);
printf("%d,%d\n",&a,&b);
printf("%d,%d\n",a,b);
printf("%d,%d\n",&a,&b);
- 데블스캠프2010/다섯째날/ObjectCraft/미션2/강소현 . . . . 8 matches
printf("%s가 %s에게 데미지 %d를 입혀 HP가 %d가 되었다.\n",zerg1.name, zerg2.name, zerg1.attack, zerg2.HP);
printf("%s가 %s에게 데미지 %d를 입혀 HP가 %d가 되었다.\n",zerg2.name, zerg1.name, zerg2.attack, zerg1.HP);
printf("%s가 %s에게 데미지 %d를 입혀 HP가 %d가 되었다.\n",a->name, b->name, a->attack, b->HP);
printf("%s가 %s에게 데미지 %d를 입혀 HP가 %d가 되었다.\n",b->name, a->name, b->attack, a->HP);
- 데블스캠프2010/다섯째날/ObjectCraft/미션2/김상호 . . . . 8 matches
printf("저글링 0이 저글링 1에게 데미지 %d를 입혀 HP가 %d가 되었다.\n", a[0].gong, a[1].hp);
printf("저글링 1이 저글링 0에게 데미지 %d를 입혀 HP가 %d가 되었다.\n", a[1].gong, a[0].hp);
printf("저글링 %d이 저글링 %d에게 데미지 %d를 입혀 HP가 %d가 되었다.\n", a.name, b.name, a.gong, b.hp);
- 새싹C스터디2005 . . . . 8 matches
printf(“%d %dn”, i, j); /* 1 2 is printed */
printf(“%d %dn”, i, j); /* 0 2 is printed */
printf(“%d %dn”, i, j); /* 1 4 is printed */
printf(“%d %dn”, i, j); /* 2 4 is printed */
- 새싹교실/2011/Noname . . . . 8 matches
scanf("%d", &a);
printf("%d",factorial(a));
scanf("%d",&x);
printf("%d",fibo(x));
scanf("%d",&n);
printf("%d번째 원반을 %c에서 %c로 옮기시오\n",n,from,to);
printf("%d번째 원반을 %c에서 %c로 옮기시오\n",n,from,to);
printf("%d",stu[0][h]);
- 새싹교실/2012/ABC반 . . . . 8 matches
printf("%d", c);
printf("%d", c);
printf("%d", c);
printf("%d", c);
scanf("%d",&order);
scanf("%d%d",&a, &b);
printf("%d", c);
- 새싹교실/2012/나도할수있다 . . . . 8 matches
printf("문자:%c\n정수:%d\n실수1:%f\n실수2:%.2f",a,b,c,d);
printf("%d",sum);
printf("%d",sum);
printf("%d %d\n",a,b);
printf("%d %d",a,b);
printf("나의 체력 : %d",My.HP);
- 새싹교실/2012/주먹밥/이소라때리기게임 . . . . 8 matches
printf("%s가 %s를 힐해줍니다. 피가 : %d 만큼 채워졌습니다!\n",who->name,who->name,temp);
printf("%s가 %s를 발로찹니다. 데미지 : %d 만큼 입혔습니다!\n",who->name,target->name,temp);
printf("%s가 %s를 때립니다. 데미지 : %d 만큼 입혔습니다!\n",who->name,target->name,temp);
for(i =0;i<CLASSSIZE;i++) printf("%d %s\n",classList[i].type,classList[i].name);
scanf("%d",&select);
printf("이소라 체력 : %d\n",sora->skill.health);
printf("내 체력 : %d\n",me->skill.health);
scanf("%d",&select);
- 수학의정석/행렬/조현태 . . . . 8 matches
printf("%d ",*(baeyol[0]+i*size_x[0]+j)+*(baeyol[1]+i*size_x[1]+j));
printf("%d ",temp);
printf("CPU CLOCKS = %d\n", clock() - time_in); // 끝났을때 시간 - 초기 시작시간 = 프로그램 실행 시간
scanf("%d",&size_y[i]);
scanf("%d",&size_x[i]);
printf("%d행 %d열의 숫자를 입력해주세요.>>",j+1,k+1);
scanf("%d",baeyol[i]+j*size_x[i]+k);
- 중위수구하기/정수민 . . . . 8 matches
scanf("%d %d %d", &a, &b, &c);
printf("중위수 = %d", middleNum);
scanf("%d %d %d", &a, &b, &c);
printf("중위수 = %d", middleNum);
- ContestScoreBoard/조현태 . . . . 7 matches
scanf ("%d",&test_number);
scanf("%d %d %d %c",&input_team_number, &input_temp, &input_time, &input_e);
printf("%d\t%d\t%d\n",temp_point->team_number,temp_point->score,temp_point->used_time);
- JTDStudy/첫번째과제/상욱 . . . . 7 matches
print '--0으로 시작하지 않는, 겹치지 않는 숫자 %d개를 넣어 주세요.--'%LENGTH
if isEnd:print '%d 회 스트라이크 아웃!' % count
else: print '%d 회 %d 스트라이크 %d 볼 %d 아웃' % tuple([count]+sbo)
else:print '%d회 시도 실패하였습니다.' %count
- NumberBaseballGame/jeppy . . . . 7 matches
printf("%d input number : ", i+1);
//printf("%d : %s\n", i, number_log[i]);
//printf("%d %d %d \n", number[0], number[1], number[2]);
else printf("%dstrike %dball\n", strike, ball);
- TowerOfCubes/조현태 . . . . 7 matches
sscanf(readData, "%d %d %d %d %d %d", &front, &back, &left, &right, &top, &bottom);
sscanf(readData, "%d", &boxNumber);
- 김희성/리눅스계정멀티채팅2차 . . . . 7 matches
printf("%dth clinet try to login\n",t_num);
printf("%dth clinet try to create ID\n",t_num);
printf("%dth client is disconnected\n",t_num);
printf("%dth client is connected, socket_num is %d\n",t_num, client_socket);
printf("\033[%d;%df",y,x);
- 데블스캠프2009/월요일/연습문제/svn코드레이스/박근수 . . . . 7 matches
printf("이거슨 업다운 게임~\n답은 %d\n",number);
printf("숫자를 입력하세요(범위: %d~%d): ",min+1,max-1);
scanf("%d", &a);
printf("%d부터 %d까지 숫자를 넣으라고 말하는 겁니다아아!!!\n",min+1,max-1);
int a,i,j;void main(){scanf("%d",&a);for(;i<a;i++){for(j=0;j<a;j++)printf(j==0||j==a-1||i==0||i==a-1?"*":" ");puts("");}}
- 빵페이지/도형그리기 . . . . 7 matches
format = ( '%%%ds '% (num) ) * 4
printf("plz input asterisk number(below %d):",MAX);
scanf("%d",&num);
sprintf(format,"%%%ds %%%ds %%%ds %%%ds\n",num,num,num,num);
- 새싹교실/2011/Pixar/실습 . . . . 7 matches
scanf("%d", &four_digit_num);
printf("%d\n", sum);
scanf("%d", &four_digit_num);
printf("%d\n", sum);
scanf("%d", &n_digit_num);
printf("%d\n", sum);
printf("%d\t%.2f\n", n, a * interest);
- 새싹교실/2012/사과나무 . . . . 7 matches
printf("%d * %2d = %3d\t",k,j,k*j);
printf("%d * %2d = %3d\t",k,j,k*j);
printf("%d * %2d = %3d\n",k,j,k*j);
printf("%d * %2d = %3d\t",i,j,i*j);
printf("%d * %2d = %3d\t",i,j,i*j);
printf("%d * %2d = %3d\n",i,j,i*j);
printf("%d * %2d = %3d\n",i,j,i*j);
- 새싹교실/2012/아우토반/앞반/4.19 . . . . 7 matches
printf("선대의 체력 : %d\n플레이어의 체력 : %d\n", shp, php);
printf("선대의 공격! 플레이어는 %d 만큼의 피해를 입었다! \n", damage);
printf("플레이어의 공격! 선대는 %d만큼의 피해를 입었다! \n", damage);
printf("플레이어의 공격! 선대는 %d만큼의 피해를 입었다! \n", damage);
scanf("%d",&pick_number);
scanf("%d",&a);
- 새싹교실/2012/앞부분만본반 . . . . 7 matches
printf("%d\n", 1234);
printf("%d %d\n", 10, 20);
printf("My age: %d \n", 20);
printf("%d is my level \n", 100);
문제 1 다음의 출력결과를 보이도록 예제를 작성해보자. 출력되는 숫자들(25, 345, 9393)은 서식문자 %d를 이용하여 출력하자.
문제 2 다음의 출력결과를 보이도록 예제를 작성해보자. 출력되는 숫자들은 서식문자 %d를 사용해서 출력을 해보자.
- 1thPCinCAUCSE/ProblemA/Solution/zennith . . . . 6 matches
scanf("%d", &num);
scanf("%d%d%d%d", &input[0], &input[1], &input[2], &input[3]);
printf("%d\n", output[i++]);
- Bridge/권영기 . . . . 6 matches
scanf("%d", &t);
scanf("%d", &n);
scanf("%d", &man[j]);
printf("%d\n", ans);
printf("%d", temp.first);
if(temp.second != -1)printf(" %d", temp.second);
- Calendar환희코드 . . . . 6 matches
scanf("%d", &year);
scanf("%d", &numberofDay);
scanf("%d", numberofDay);
printf(" %d월, %d\n", month, year);
printf("%d\t", count일);
- CeeThreadProgramming . . . . 6 matches
printf( "Thread ID %d => %dn", pArguments, Counter);
//printf( "Counter should be 1000000; it is-> %dn", Counter );
printf("Thread 1 returns: %d\n",iret1);
printf("Thread 2 returns: %d\n",iret2);
printf("%s: %d \n", message, count);
- Cpp에서의가변인자 . . . . 6 matches
str.Format(_T("a : %d, b : %d, c: %d"), a, b, c);
VAMessageBox(_T("a : %d, b : %d, c: %d"), a, b, c); // variant argument(?)의 약자같다.
- FOURGODS/김태진 . . . . 6 matches
scanf("%d",&T);
scanf("%d %d",&N,&M);
scanf("%d %d",&tmp1,&tmp2);
printf("%d\n",num);
- IndexedTree/권영기 . . . . 6 matches
scanf("%d", &n);
scanf("%d", &items[i]);
printf("%d", find(it.root, 2, 8, 1, maxcount));
scanf("%d", &n);
scanf("%d", &f[i+1]);
printf("%d", read_BinaryIndexedTree(tree, 3, 7));
- LinkedList/학생관리프로그램 . . . . 6 matches
scanf("%d", &selectedMenu);
scanf("%d", &searchNumber);
printf("검색 성공!\n부서: %s\n이름: %s\n번호: %d\n",
scanf("%d", &deleteNumber);
scanf("%d", &(aStudent->number));
printf("현재 총 %d명의 학생이 등록되었습니다.\n", counter);
- One/김태형 . . . . 6 matches
printf("%d ", number);
printf("%d\n", number);
printf("%d ", number);
printf("1부터 10까지의 합은 %d 입니다.", total);
scanf("%d", &number);
printf("%d", u);
- R'sSource . . . . 6 matches
#print '라인넘버 : %d' % lineNum
print '★★★ %s %d번째 페이지 탐색중....' % (keyGamer, flag)
beReadingUrl = 'http://www.replays.co.kr/technote/main.cgi?board=bestreplay_pds&number=%d&view=2&howmanytext=' % i
print '%s 하위디렉토리에 총 %d 개의 리플레이를 저장하였습니다.' % (saveDirName , savedNum)
print '경과시간 : 약 %d 분' % (int(time.clock()/60) + 1)
print ' %d 번째 rep화일저장중 : %s ' % (savedNum , fileName)
- VendingMachine_참관자 . . . . 6 matches
printf("%d : %s %d\n",i,Menu[i],Price[i]);
printf("Current Money is %d\n",Money);
printf("CurrentMoney is %d\n",Money);
printf("Returned Money is %d\n",Money);
printf("%d\n",command);
- koi_aio/권영기 . . . . 6 matches
scanf("%d", &n);
scanf("%d %d %d", &s[i].a, &s[i].b, &s[i].c);
printf("%d %d\n", s[ans[i]].a, s[ans[i]].b);
- 고한종/팩토리얼 . . . . 6 matches
scanf("%d",&input);
printf("%d",fact(input));
scanf("%d",&input);
printf("%d",fact(input));
scanf("%d",&input);
printf("%d",fact(input));
- 구구단/이태양 . . . . 6 matches
printf("%d * %d = %d \t",dan,i,dan*i);
printf("%d * %d = %d \t",dan,i,dan*i);
- 구구단/주요한 . . . . 6 matches
printf("%d * %d = %d\t", j, i, j*i);
printf("%d * %d = %d\t", j, i, j*i);
- 구구단/하나조 . . . . 6 matches
printf("%d * %d = %d\n",i,j,k);
printf("%d*%d=%d\n",i,j,k);
- 권영기/채팅프로그램 . . . . 6 matches
sprintf( buff_snd, "%d : %s", strlen( buff_rcv), buff_rcv);
sprintf( buff_snd, "%d : %s", strlen( buff_rcv), buff_rcv);
sprintf( buff_snd, "%d : %s", strlen( buff_rcv), buff_rcv);
sprintf( buff_snd, "%d : %s", strlen( buff_rcv), buff_rcv);
sprintf( buff_snd, "%d : %s", strlen( buff_rcv), buff_rcv);
sprintf( buff_snd, "%d : %s", strlen( buff_rcv), buff_rcv);
- 그래픽스세미나/2주차 . . . . 6 matches
|| 이상규 || [http://165.194.17.15/~lsk8248/wiki/Seminar/%b1%d7%b7%a1%c7%c8%bd%ba%bc%bc%b9%cc%b3%aa/2%c1%d6%c2%f7/Space.zip Space] 상하좌우 방향키와 +,- 키를 눌러보세요^^ [[BR]] [http://165.194.17.15/~lsk8248/wiki/Seminar/%b1%d7%b7%a1%c7%c8%bd%ba%bc%bc%b9%cc%b3%aa/2%c1%d6%c2%f7/Space.exe Space 실행 파일] [http://165.194.17.15/~lsk8248/wiki/Seminar/%b1%d7%b7%a1%c7%c8%bd%ba%bc%bc%b9%cc%b3%aa/2%c1%d6%c2%f7/ErrorSpace.exe 에러난 Space 실행 파일(멋진 에러..ㅡ.ㅡ)]||
- 데블스캠프2009/금요일/연습문제/ACM2453/송지원 . . . . 6 matches
scanf("%d", &input);
printf("b = %d, i = %d\n", b, i);
printf("temp : %d\n", temp);
printf("count : %d\n", count);
printf("output : %d\n", input);
- 데블스캠프2009/월요일/연습문제/svn코드레이스/박준호 . . . . 6 matches
printf("%d\n", number);
printf("숫자를 입력하시오 범위는 %d 부터 %d 입니다. \n", minnum, maxnum);
scanf("%d", &guess);
void main(){int n,i,j;scanf("%d",&n);for(i=0;i<n;i++){for(j=0;j<n;j++){(i==0||i==n-1)?printf("*"):((j==0||j==n-1)?printf("*"):printf(" "));}puts("");}}
scanf("%d",&n);
- 데블스캠프2010/다섯째날/ObjectCraft/미션2/변형진 . . . . 6 matches
printf("저글링 %d이 저글링 %d에게 데미지 %d를 입혀 HP가 %d가 되었습니다.\n", z1.no, z2.no, damage, z2.hitP);
printf("저글링 %d이 죽었습니다.\n", zerglings[1].no);
printf("저글링 %d이 죽었습니다.\n", zerglings[0].no);
- 미로찾기/정수민 . . . . 6 matches
printf("(%d, %d) \n",x , y);
printf("%d 번째에 미로 탈출\n",j);
printf("탈출!!! %d 번째에 미로 탈출\n",j);
printf("(%d, %d) \n",x , y);
- 새싹교실/2011/AmazingC/6일차 . . . . 6 matches
printf("%d + %d = %d\n", 1,2,sum(1,2));
printf("%d + %d = %d\n", 3,5,sum2(3,5));
- 새싹교실/2011/學高/3회차 . . . . 6 matches
printf("니 체력: %d\n",player_hp);
printf("현재 적의 HP: %d\n",park_hp);
printf("\n적에게 펀치를 날려 %d의 데미지를 줬다!\n",damage);
printf("\n적에게 킥을 날려 %d의 데미지를 줬다!\n",damage);
printf("적이 펀치를 날려 %d의 데미지를 받았다!\n",damage);
printf("적이 킥을 날려 %d의 데미지를 받았다!\n",damage);
- 새싹교실/2011/무전취식/레벨4 . . . . 6 matches
printf("이소라 체력 : %d\n",Sora);
printf("내 체력 : %d\n",My);
printf("소라를 발로찹니다. 데미지 : %d 를 입혔다!\n",temp);
printf("소라를 때립니다. 데미지 : %d 를 입혔다!\n",temp);
printf("소라가 발로찹니다. 데미지 : %d 를 입었다!\n",temp);
printf("소라가 때립니다. 데미지 : %d 를 입었다!\n",temp);
- 새싹교실/2012/새싹교실강사교육/2주차 . . . . 6 matches
printf("이소라 체력 : %d\n",Sora);
printf("내 체력 : %d\n",My);
printf("소라를 발로찹니다. 데미지 : %d 를 입혔다!\n",temp);
printf("소라를 때립니다. 데미지 : %d 를 입혔다!\n",temp);
printf("소라가 발로찹니다. 데미지 : %d 를 입었다!\n",temp);
printf("소라가 때립니다. 데미지 : %d 를 입었다!\n",temp);
- 새싹교실/2012/아무거나/2회차 . . . . 6 matches
scanf("%d", &b);
scanf("%d",&c);
scanf("%d", &n);
scanf("%d",&n);
scanf("%d", &n);
scanf("%d",&n);
- 새싹교실/2012/아우토반/뒷반/4.13 . . . . 6 matches
scanf("%d",&number);
printf("%d",a);
printf("%d",a);
scanf( "%d",&i );
printf( "%d", a+1);
printf( "%d", a+1);
- 새싹교실/2012/열반/120514 . . . . 6 matches
printf("%d --> %d\n", a, c);
printf("%d %d", s, *ptr);
printf("%d", array[1]);
printf("%d", *(array+2));
- 새싹교실/2013/록구록구/4회차 . . . . 6 matches
printf("%d*%d =%d\n", i,j,i*j);
printf("%d x %d = %d\n ",i,j,i*j);
- 중위수구하기/허아영 . . . . 6 matches
scanf("%d %d %d", &a, &b, &c);
printf("중위수 = %d", middleNum);
printf("중위수 = %d", middleNum);
printf("중위수 = %d", search_middleNum(&a, &b, &c));
- 파일 입출력_3 . . . . 6 matches
scanf( "%d", &a );
scanf( "%d", &b );
scanf( "%d", &c );
fprintf( fpt_1, "a = %d \nb = %d \nc = %d", a,b,c); //printf와 사용법 비슷
- 호너의법칙/김태훈zyint . . . . 6 matches
scanf("%d",&x);
for(i=0;i<asize;i++) fprintf(file," %d |",i);
for(i=0;i<asize;i++) fprintf(file," %d |",a[i]);
fprintf(file,"# Horner Function Value ----> %d\n", f);
fprintf(file,"# Horner ADD Count ----> %d\n",addcount);
fprintf(file,"# Horner Multiply Count ----> %d\n",mulcount);
- 3n+1Problem/김태진 . . . . 5 matches
scanf("%d",&b);
scanf("%d",&c);
printf("%d %d %d\n",b,c,max);
- CompleteTreeLabeling/조현태 . . . . 5 matches
scanf("%d",°ree);
scanf("%d",&deep);
printf("결과 : %dn",answer_number);
scanf("%d",°ree);
scanf("%d",&deep);
- EuclidProblem/조현태 . . . . 5 matches
scanf ("%d%d",&input_a,&input_b);
printf ("결과 : x=%d\ty=%d\tGCM=%d\n",x,y,gcm);
- Hartals/조현태 . . . . 5 matches
scanf("%d",&stage);
scanf("%d",days+i);
scanf("%d",mans+i);
scanf("%d",mans_days[i]+j);
printf("%d\n",day_simulate(days[i],mans[i],mans_days[i]));
- KnapsackProblem/김태진 . . . . 5 matches
scanf("%d %d",&Wei,&Num);
scanf("%d %d",&price[i], &weight[i]);
printf("%d",f[k-1][w-1]);
- KnightTour/재니 . . . . 5 matches
printf("%d\t", m_ChessBoard[col][row]);
printf(" %d", m_Footprint[counter]);
printf("이동횟수 : %d\n", m_Move);
printf("(%d, %d)", m_CurrentRow, m_CurrentColumn);
- One/남상재 . . . . 5 matches
printf("%d " , a);
printf("%d", b ) ;
scanf("%d", &a);
printf("a[%d]번째 %d\n",c,a[c]);
- PNGFileFormat/FormatUnitTestInPythonLanguage . . . . 5 matches
print '\nBitDepth, ColorType, CompressionMethod, FilterMethod = (%d, %d, %d, %d, %d)' \
- Shoemaker's_Problem/김태진 . . . . 5 matches
scanf("%d",&n);
scanf("%d",&N);
scanf("%d %d",&arr[j].time,&arr[j].fee);
printf("%d",arr[j].j+1);
- gusul/김태진 . . . . 5 matches
scanf("%d %d %d",&barr[1],&barr[2],&barr[3]);
scanf("%d %d",&k1,&k2);
- usa_selfish/김태진 . . . . 5 matches
scanf("%d",&N);
scanf("%d %d",&arr[i].left,&arr[i].right);
// scanf("%d",&arr[i]);
printf("%d",k);
- 미로찾기/김민경 . . . . 5 matches
fscanf (fp,"%d %d",&finish_x,&finish_y);
fscanf (fp,"%d",&data[i][j]);
printf ("%d,%d\n",print[i][0],print[i][1]);
- 미로찾기/황재선허아영 . . . . 5 matches
printf("현재\n(%d,%d)\n", x, y);
printf("(%d,%d)\n", x, y);
printf("%d ", board[i][j]);
- 새싹교실/2011/學高/2회차 . . . . 5 matches
* 3+5=8E+0 를 출력하는 프로그램을 작성하라. 단, %d,%e를 반드시 이용해야 한다.
* %d: 십진수 표현, %e: e 표기법 표현, %c: 문자 표현, \n: 행 바꿈
%c 문자를 표현 %d 십진수 정수 나타냄.
* 저번에 배웠던 hello world 말고 %d, %e, %c등을 배웠고
*3+5=8E+0 를 출력하는 프로그램을 작성하라. 단, %d,%e,를 반드시 이용해야 한다.
- 새싹교실/2011/씨언어발전/4회차 . . . . 5 matches
printf("%d",Fact(3));
scanf("%d",&menu);
scanf("%d %d",&i,&j);
printf("%d",a+b);}
- 새싹교실/2012/startLine . . . . 5 matches
scanf("%d", &num1);
scanf("%d", &year);
scanf("%d", &nameOfDay);
scanf("%d", &select);
printf("%d\t", temp->data);
- 새싹교실/2012/강력반 . . . . 5 matches
%d, %f 등 변수의 숫자나 문자를 출력하기 위한것들
printf("%d\n", i);
printf("%d*%d=%d\n", i,j,i*j);
- 새싹교실/2012/세싹 . . . . 5 matches
printf("MftStartLcn : %d\n",boot_block.MftStartLcn);
printf("Mft2StartLcn : %d\n",boot_block.Mft2StartLcn);
printf("File Name Size : %d\n",*((unsigned char*)MFT+point+HeaderSize+64));
printf("Cluster %d lenth : 0x",j);
printf("Cluster %d offset : 0x",j);
- 새싹교실/2012/아우토반/앞반/4.12 . . . . 5 matches
printf("선대의 체력 : %d\n",Sundae);
printf("플레이어의 체력 : %d\n",Player);
printf("Player는 %d의 데미지를 입었습니다.\n",sundaeattack);
printf("User가 %d의 데미지를 입혔습니다.\n",userpunch);
printf("User가 %d의 데미지를 입혔습니다.\n",userkick);
- 새싹교실/2012/열반/120409 . . . . 5 matches
scanf("%d", &N);
scanf("%d", &N);
printf("%d\n", counter);
scanf("%d", &N);
printf("%d\n", result);
- 새싹교실/2013/라이히스아우토반/3회차 . . . . 5 matches
//scanf("%d",&ZiLm);
printf("%s%d",asdf,NulbI);
printf("%d-%i는 뭘까요? : ",num1,num2);
scanf("%d",&ans);
printf("나(은)는 %d의 mental 피해를 입었다!\n",GwaJaeDem);Sleep(TURN_GAP);
- 수학의정석/집합의연산/조현태 . . . . 5 matches
printf("CPU CLOCKS = %d\n", clock() - time_in); // 끝났을때 시간 - 초기 시작시간 = 프로그램 실행 시간
scanf ("%d",number_gaesu);
printf("%d번째의 숫자를 입력해주세요.>>",i+1);
scanf("%d",numbers+i);
printf(" %d ",numbers[j]);
- 파스칼삼각형/구자겸 . . . . 5 matches
scanf("%d %d",&colum,&row);
printf("%d ", array[i-1][j-1]);
printf("%d ", array[i-1][j-1]);
printf("%d\n", array[colum-1][row-1]);
- 파스칼삼각형/김수경 . . . . 5 matches
scanf("%d,%d", &m, &n);
printf("%d행 %d열의 파스칼의 삼각형 숫자는 %d 입니다.\n",m, n, Pascal(m,n));
- 파스칼삼각형/김준석 . . . . 5 matches
scanf("%d,%d",&h,&y);
printf("%d행 %d의 숫자는 %d 입니다",h,y,pas[h-1][y-1]);
- AKnight'sJourney/정진경 . . . . 4 matches
scanf("%d", &n);
scanf("%d %d", &p, &q);
printf("Scenario #%d:\n%s\n\n", i, GetPath(p*100+q));
- AnEasyProblem/정진경 . . . . 4 matches
main(n,a){for(;a=scanf("%d",&n),n;printf("%d\n",n+a))for(;~n&a|n&a*2;a*=2)n^=n&a?n%a+1^a:0;}
main(n,a){for(;a=scanf("%d",&n)+~n&n;printf("%d\n",n+a|(n^n+a)/a/4));}
- CToAssembly . . . . 4 matches
printf("%d\n",i);
printf("%d\n",i);
printf("%d\n",k);
scanf("%d",&i);
- CubicSpline/1002/TriDiagonal.py . . . . 4 matches
#print "x[%d]: y[%d][0] - minus:[%f] / u[%d][%d]:%f : %f"% (n,n,_minusForGetMatrixX(n, aMatrixUpper, matrixX),n,n, aMatrixUpper[n][n], matrixX[n][0])
- EightQueenProblemDiscussion . . . . 4 matches
print "%d. level : %d \n" % (self.Count, Level)
c+d)/2));return f;}main(q){scanf("%d",&q);printf("%d\n",t(~(~0<<q),0,0));}
- FromDuskTillDawn/조현태 . . . . 4 matches
sscanf(readData, "%d", &sizeOfTimeTable);
sscanf(readData, "%s %s %d %d", startStationName, endStationName, &startTime, &delayTime);
sscanf(readData, "%d", &numberOfTestCase);
- JollyJumpers/서지혜 . . . . 4 matches
scanf("%d", &count);
scanf("%d", &a[i]);
scanf("%d", &count);
scanf("%d", &a[i]);
- LinuxProgramming/SignalHandling . . . . 4 matches
printf("%d : waiting \n", num ++);
printf("which signal is passed : %d \n", sig);
printf("%d : waiting \n", num ++);
printf("which signal is passed : %d \n", sig);
- Lotto/김태진 . . . . 4 matches
scanf("%d",&N);
scanf("%d",&a[i]);
printf("%d ",*p[i]);
printf("%d ",*p[i]);
- One/윤현수 . . . . 4 matches
printf("%d ",i);
printf("%d",plus);
printf("숫자를 입력하세요"); scanf("%d" ,&i);
printf("%d ",a[c]);
- PythonNetworkProgramming . . . . 4 matches
print "current : %d, sended : %d"%(currentReaded, sended)
print "received : %d, %d"%(len(data), self.received)
- RabbitHunt/김태진 . . . . 4 matches
scanf("%d",&N);
scanf("%d %d",&b[0][i],&b[1][i]);
printf("%d",C+1);
- SOLDIERS/송지원 . . . . 4 matches
scanf("%d", &num);
scanf("%d %d", &x[i], &y[i]);
printf("%d", minMoveX + minMoveY);
- SOLDIERS/정진경 . . . . 4 matches
scanf("%d", &n);
scanf("%d %d", &x[i], &y[i]);
printf("%d", resx+resy);
- SmithNumbers/이도현 . . . . 4 matches
scanf("%d", &input_number);
scanf("%d", &input_case);
printf("%dn", j);
sprintf(string, "%d", num);
- TheGrandDinner/조현태 . . . . 4 matches
sscanf(readData, "%d %d", &numberOfTeam, &numberOfTable);
sscanf(readData, "%d", &buffer);
sscanf(readData, "%d", &buffer);
- TriDiagonal/1002 . . . . 4 matches
print "x[%d]: y[%d][0] - minus:[%f] / u[%d][%d]:%f : %f"% (n,n,_minusForGetMatrixX(n, aMatrixUpper, matrixX),n,n, aMatrixUpper[n][n], matrixX[n][0])
- WorldCupNoise/정진경 . . . . 4 matches
scanf("%d", &N);
scanf("%d", &k);
printf("Scenario #%d:\n%d\n\n", n, Table[k][0]+Table[k][1]);
- usa_selfish/권영기 . . . . 4 matches
scanf("%d", &n);
scanf("%d %d", &c[i].s1, &c[i].s2);
printf("%d",d[m-1]);
- 고한종/배열을이용한구구단과제 . . . . 4 matches
scanf("%d",&n);
printf("%d * %d = %d\n",n,arr[i],n*arr[i]);
- 구구단/김유정 . . . . 4 matches
scanf("%d",&a);
printf("%d*%d:%d\n",a,n,a*n);
- 구구단/이재경 . . . . 4 matches
scanf("%d",&a);
printf("%d곱하기 %d는 %d입니다.\n",a,f,a*f);
- 김희성/리눅스멀티채팅 . . . . 4 matches
printf("%dth client connected\n",num);
sprintf(buff_snd,"%dth client : %s",num,buff_rcv);
printf("\033[%d;%df",y,x);
- 데블스캠프2006/화요일/tar/김준석 . . . . 4 matches
fprintf(write_f,"%d ",data_dir.size);
fscanf(read_f,"%d ",&output_size);
fprintf(archive, "%d ", size);
fscanf(archive, "%d ", &size);
- 데블스캠프2009/월요일/연습문제/svn코드레이스/서민관 . . . . 4 matches
printf("숫자를 입력해 주세요.(%d~%d) => ", min, max);
scanf("%d", &ent);
scanf("%d", &a);
- 데블스캠프2010/다섯째날/ObjectCraft . . . . 4 matches
* 저글링 %d이 저글링 %d에게 데미지 %d를 입혀 HP가 %d가 되었다.
- 반복문자열/김대순 . . . . 4 matches
printf(" %d CAUCSE LOVE.\n",n+1);
printf(" %d CAUCSE LOVE.\n",n+1);
printf(" %d CAUCSE LOVE.\n",++n);
printf(" %d CAUCSE LOVE.\n",++n);
- 새싹교실/2011/무전취식/레벨9 . . . . 4 matches
for (i=0;i<N;i++) scanf("%d",&a[i]);
printf("%d\n",a[i]);
printf("%d : %d(%f)\n",i,sum_count[i], (float)sum_count[i]/36000 );
- 새싹교실/2012/열반/120319 . . . . 4 matches
printf("%d\n", 1+1);
printf("%d\n", 1+1);
== %d ==
printf("%d", 10000000000);
- 새싹교실/2012/열반/120402 . . . . 4 matches
printf("%d %d\n", x, y);
printf("%d %d\n", x, y);
- 새싹교실/2012/열반/120521 . . . . 4 matches
printf("%d %d\n", x, y);
printf("%d %d\n", x, y);
- 수학의정석/방정식/조현태 . . . . 4 matches
printf("CPU CLOCKS = %d\n", clock() - time_in); // 끝났을때 시간 - 초기 시작시간 = 프로그램 실행 시간
scanf("%d",x);
scanf("%d",y);
scanf("%d",t);
- 수학의정석/집합의연산/이영호 . . . . 4 matches
scanf(" %d", &size);
scanf(" %d", &(set[i]));
printf("CLOCK_TIME = %d\n", clock() - time_in);
printf("%d,", buf[i]);
- 윤성준 . . . . 4 matches
scanf("%d",&a);
printf("%d×%d=%d\n",a,i,a*i);
- 윤정훈 . . . . 4 matches
scanf("%d",&input);
printf("%dX%d=%d\n",input,i,input*i);
- 이원희 . . . . 4 matches
scanf("%d",&a);
printf("%d*%d=%d\n",a,b,a*b);
- 정모/2013.5.6/CodeRace . . . . 4 matches
printf("%s %d\n",a,aa);
printf("%s %d\n",b,ab);
printf("%s %d",c,ac);
printf("%s %d\n",store[i],store_count[i]);
- 진법바꾸기/허아영 . . . . 4 matches
scanf("%d %d", &ten_jinsu, &any_jinbeob);
printf("10진수 : %d n진법 : %d n결과 : ", ten_jinsu, any_jinbeob);
- 최소정수의합/김소현 . . . . 4 matches
printf("n=%d, sum=%d \n", n, sum);
printf("n=%d, sum=%d \n", n, sum);
- 최소정수의합/이도현 . . . . 4 matches
printf("n = %d, sum = %dn", n, (n * n + n) / 2);
printf("n = %d, sum = %dn", n, sum);
- 최소정수의합/허아영 . . . . 4 matches
printf("n = %d, sum = %d", n, sum);
printf("n = %d, sum = %d", n, sum);
- 큰수찾아저장하기/김영록 . . . . 4 matches
printf("input[%d][%d] = ",i,j);
scanf("%d",&space[i][j]);
printf("%d ",space[i][j]);
- 큰수찾아저장하기/김태훈zyint . . . . 4 matches
scanf("%d",&value[i][j]);
printf("%d ",value[i][j]);
scanf("%d",&value[i][j]);
printf("%d ",value[i][j]);
- 한유선 . . . . 4 matches
scanf("%d",&a);
printf("%d×%d=%d\n",a,i,a*i);
- 10학번 c++ 프로젝트/소스 . . . . 3 matches
printf("설정한 알람은 %d시 %d분 %d초 입니다!\n",settm.altm_hour,settm.altm_min,settm.altm_sec);
- 3N+1Problem/구자겸 . . . . 3 matches
scanf("%d %d", &i_num, &j_num); // 두 정수를 받는다
printf("%d\n", max); // 최대값 출력
- BeeMaja/고준영 . . . . 3 matches
while(scanf("%d", &willy)){
printf("(%d, %d)\n\n", posi.x, posi.y);
- CarmichaelNumbers/조현태 . . . . 3 matches
scanf("%d",&number);
printf("%d is normal.\n",number);
printf("The number %d is a Carmichael number.\n",number);
- C언어정복/4월6일 . . . . 3 matches
printf("%d X %d = %d\n", i, j, i * j);
- EightQueenProblem/강석천 . . . . 3 matches
line += "%d" % self.GetData (j,i)
print "%d. level : %d \n" % (self.Count, Level)
- EightQueenProblem/최태호소스 . . . . 3 matches
for(int j=0;j<SIZE;j++)printf("%d ",P[i][j]);
printf("solv %d\n",count);
for(int j=0;j<SIZE;j++)printf("%d ",P[i][j]);
- Jolly Jumpers/정진경 . . . . 3 matches
n,a,b,k,c[3000];main(){for(;scanf("%d%d",&n,&a)+1;puts(k-1?"Not jolly":"Jolly"))for(memset(c,0,n*4),k=n;--n;a=b){scanf("%d",&b);a=abs(a-b);if(!c[a])c[a]=1,k--;}}
- JollyJumpers/정진경 . . . . 3 matches
c[3000];main(n,a,b,k){for(;scanf("%d%d",&n,&a)+1;puts(k-1?"Not jolly":"Jolly"))for(memset(c,0,n*4),k=n;--n;a=b)scanf("%d",&b),c[abs(a-b)]++?0:k--;}
- Kongulo . . . . 3 matches
print "::: (%d) %s" % (depth, url)
print "!!! (HTTP %d) %s" % (doc.code, url)
print ("=== Completed crawl; will recrawl in %d minutes." %
- Lotto/송지원 . . . . 3 matches
scanf("%d", pnum);
scanf("%d", &nums[i]);
printf("%d", nums[dmy[j]]);
- Mario . . . . 3 matches
scanf("%d",&n);
scanf("%d",&arr[i]);
printf("%d",bigsum);
- One/박원석 . . . . 3 matches
printf("1부터 10까지의 합은 %d입니다.",sum);
printf("1부터 10까지의 총곱은 %d입니다.",sum);
printf("숫자를 입력하시오.");scanf("%d",&c);
- OurMajorLangIsCAndCPlusPlus/Function . . . . 3 matches
printf("s = %d\n", s);
printf("%d\n", a);
printf("%d\n", a);
- POLY/김태진 . . . . 3 matches
scanf("%d",&T);
scanf("%d",&n);
printf("%d\n",sum);
- Pairsumonious_Numbers/권영기 . . . . 3 matches
while(scanf("%d", &n) == 1){
scanf("%d", &temp[i]);
printf("%d", ans[i]);
- Pairsumonious_Numbers/김태진 . . . . 3 matches
scanf("%d",&n);
scanf("%d",&arr[i]);
printf("%d ",a[j]);
- PerformanceTest . . . . 3 matches
printf ("random number : %d \n", nRandNum);
printf ("location : %d\n", nLocation);
printf (" %d ms 걸렸습니다.\n",time*1000+millitm);
- PowerOfCryptography/허아영 . . . . 3 matches
scanf("%d", &n);
scanf("%d", &p);
printf("k = %dn", result);
- SmithNumbers/김태진 . . . . 3 matches
scanf("%d",&n);
scanf("%d",&N);
printf("%d\n",save);
- SmithNumbers/조현태 . . . . 3 matches
scanf("%d",&number_simulation);
scanf("%d",&minimum_number);
printf("결과 : %d\n",Creat_base_and_process(minimum_number+1));
- StacksOfFlapjacks/조현태 . . . . 3 matches
scanf("%d",cakes_size+number_cake);
printf("%d ",number_cake-maximum);
printf("%d ",number_cake-i);
- TestDrivenDevelopment . . . . 3 matches
printf("file %s', line %d, assert '%s' failed\n", fileName, (int)lineNum, condStr);
printf("%d tests run, %d tests failed\n", (int)gNumTests,(int)gNumFailures);
- UglyNumbers/구자겸 . . . . 3 matches
scanf("%d", &ind); // 알고 싶은 심술쟁이 수를 얻는다
printf("%d 번째 수는 %d이다\n",ind,uarr[ind-1]);
- coci_coko/권영기 . . . . 3 matches
scanf("%d", &n);
printf("%d %d", ans1, ans2);
- 구구단/임다찬 . . . . 3 matches
printf("%d * %d = %d\t",j,i,i*j);
- 김태진/Search . . . . 3 matches
scanf("%d", &val);
else printf("%d is found in %d-th position in the array.\n", val,index);
- 김희성/ShortCoding/최대공약수 . . . . 3 matches
main(a,b){scanf("%d%d",&a,&b);while(a%=b)a^=b^=a^=b;printf("%d",b);}
- 덜덜덜/숙제제출페이지2 . . . . 3 matches
scanf("%d", &pattern_num);
scanf("%d", &num);
scanf("%d", &length);
- 데블스캠프2009/목요일/연습문제/다빈치코드/서민관 . . . . 3 matches
scanf("%d", &cardnum);
scanf("%c %d", &hand[m].color, &hand[m].number);
printf("%c %d\n", hand[j].color, hand[j].number);
- 데블스캠프2010/다섯째날/ObjectCraft/미션1/강소현 . . . . 3 matches
printf("%s가 %s에게 데미지 %d를 입혀 HP가 %d가 되었다.\n",zerg1.name, zerg2.name, zerg1.attack, zerg2.HP);
printf("%s의 HP가 %d가 되어 끝났음 ㅇㅇ\n",zerg2.name, zerg2.HP);
- 미로찾기/김태훈 . . . . 3 matches
printf("%d ケー スヌヌ狠゚\n",run);
printf("%dケクソ。 ナサテ・シコー!\n",run);
printf("%d ",map[i][j]);
- 새싹교실/2011/學高/5회차 . . . . 3 matches
printf("%d\n",(++a)+(b++)*(c+d)%e);
printf("%d\n",(++a)+(b++)*(c+d)%e);
printf("%d\n",(++a)+(b++)*(c+d)%e);
- 새싹교실/2011/무전취식/레벨1 . . . . 3 matches
scanf("%d %d %d",&x1,&x2,&x3);
- 새싹교실/2011/무전취식/레벨2 . . . . 3 matches
* printf()와 scanf()함수의 쓰임에 대해 말해주었습니다. %c %d %l %f %%등등.
scanf("%d",&select); <- input 1
scanf("%d",&select); <- input 3
- 새싹교실/2011/씨언어발전/5회차 . . . . 3 matches
printf("1\t%d\t%.3f\n",st1[3],av1);
printf("2\t%d\t%.3f\n",st2[3],av2);
if (isPrime(i)==TRUE) printf(“%d\n”,i);
- 새싹교실/2012/새싹교실강사교육/4주차 . . . . 3 matches
fprintf(ftr, "%d",ten);
fscanf(ftr, "%d",&get);
printf("%d",get);
- 새싹교실/2012/아우토반/뒷반/3.30 . . . . 3 matches
scanf("%d", &a);
scanf( "%d", &a); //a를 입력받음
printf("%d", a ); //a를 인쇄함
- 소수구하기/인수 . . . . 3 matches
printf("%d %d",2,3);
printf("%d ",i);
- 연습용 RDBMS 개발 . . . . 3 matches
scanf("%d", &num);
printf("숫자 %d : %s\n\n", num, result ? "소수가 아닙니다." : "소수입니다.");
scanf("%d", &num);
- 자료병합하기/허아영 . . . . 3 matches
printf("%d ", a[i]);
printf("%d ", b[i]);
printf("%d ", c[i]);
- 지영민/ㅇㅈㅎ게임 . . . . 3 matches
printf("과제는 %d의 대미지를 입었다!",GwaJaeDem);Sleep(TURN_GAP);
printf("나(은)는 %d의 mental 피해를 입었다!\n",GwaJaeDem);Sleep(TURN_GAP);
printf("나의 mental이 %d의 피해를 입어 파괴되었다!!\n",GwaJaeDem);Sleep(TURN_GAP);
- 진법바꾸기/김영록 . . . . 3 matches
printf("%d ",temp);
scanf("%d",&input_10);
scanf("%d",&input_num);
- 창섭/배치파일 . . . . 3 matches
for %d in (read,wh,file) do hlist %d*.* ☞ 도스 프롬프트에서 실행시
두번째는 READ,WH,FILE 를 순서대로 %d 환경변수에 대입하여 차례대로
- 최대공약수/김태훈zyint . . . . 3 matches
printf("x = "), scanf("%d",&x);
printf("y = "), scanf("%d",&y);
printf("GCD is %d\n",gcd(x,y));
- 큰수찾아저장하기/허아영 . . . . 3 matches
printf("matrix[%d][%d] = ", i, j);
scanf("%d", &matrix[i][j]);
- 테트리스만들기2006/예제1 . . . . 3 matches
printf("%d", number);
scanf("%d %d", &x, &y);
- 파스칼삼각형/김태훈zyint . . . . 3 matches
printf("행 : "); scanf("%d",&row);
printf("열 : "); scanf("%d",&col);
printf("result = %d\n",combination(row-1,col-1));
- 프로그래밍잔치/첫째날후기 . . . . 3 matches
>>> printgugupair=lambda pair: sys.stdout.write("%d * %d = %d\n"%(pair[0],pair[1],pair[0]*pair[1]))
- 피보나치/김준석 . . . . 3 matches
scanf("%d",&count);
printf("\n %d 번째까지 구했습니다.\n",count);
printf(" %3d 번째 : %d \t", num - p_num,present); //현재 번째 = 돌리는 숫자 - 남은숫자
- 피보나치/이태양 . . . . 3 matches
printf("몇번째수:"); scanf("%d",&n);
printf("피보나치수열의 %d번째 수는 %d 입니다",n,no3);
- 피보나치/정수민,남도연 . . . . 3 matches
printf("%d번때 숫자는 %d 입니다.",m ,k);
scanf("%d",&m);
- 피보나치/현정,현지 . . . . 3 matches
scanf(" %d",&num);
printf("%d항의 숫자는 %d입니다.\n",num,suyul[num-1]);
- 하노이탑/한유선김민경 . . . . 3 matches
printf("%5d:말뚝 %c 에서 말뚝 %c 로 원반 %d 을 이동 \n", cnt, from, to, 1);
printf("%5d:말뚝 %c 에서 말뚝 %c 로 원반 %d 을 이동 \n", cnt, from, to, n);
scanf("%d", &n);
- 1thPCinCAUCSE . . . . 2 matches
scanf ( "%d", &n ); // 표준 입력 부분
printf ( "I got %d\n", n ); // 표준 출력 부분
- 2thPCinCAUCSE . . . . 2 matches
scanf ( "%d", &n ); // 표준 입력 부분
printf ( "I got %d\n", n ); // 표준 출력 부분
- 3rdPCinCAUCSE . . . . 2 matches
scanf ( "%d", &n ); // 표준 입력 부분
printf ( "I got %d\n", n ); // 표준 출력 부분
- AnEasyProblem/김태진 . . . . 2 matches
scanf("%d",&N);
printf("%d\n",n);
- C99표준에추가된C언어의엄청좋은기능 . . . . 2 matches
scanf("%d", &n);
printf("%d ", x[i]);
- CNight2011/고한종 . . . . 2 matches
printf("%d",arr);
C언어에서 int a[ 2]={1,2} 선언후 printf("%d",a[2]); 같은 경우도 허용하므로 언제 터지는지 알 수가 없었다..
- CodeRace/20060105/민경선호재선 . . . . 2 matches
System.out.printf("%-15s\t%d\t%d\n", temp, list.get(i).getCount(), count);
- JTDStudy/첫번째과제/원명 . . . . 2 matches
String.format("%d Strike, %d Ball", result / 10, result % 10));
- JollyJumpers/김태진 . . . . 2 matches
scanf("%d",&val);
scanf("%d",&a[i]);
- JumpJump/김태진 . . . . 2 matches
scanf("%d",&T);
scanf("%d",&n);
- LoveCalculator/조현태 . . . . 2 matches
printf ("%d번째 사람의 이름을 입력해주세요.\n>>",i+1);
printf ("%d번째 사람의 이름을 입력해주세요.\n>>",i+1);
- MineFinder . . . . 2 matches
pDlg->PrintStatus ("Action : CheckFlag - %d rn", nRet);
pDlg->PrintStatus ("Action : OpenBlocks - %d rn", nRet);
- Monocycle/조현태 . . . . 2 matches
scanf("%d %d", &mapHeight, &mapWidth);
- Ones/송지원 . . . . 2 matches
while( scanf("%d", &n) != EOF ) {
if( i <= LENBOUND ) printf("%d\n", i);
- Ones/정진경 . . . . 2 matches
main(n,s,c){for(;scanf("%d",&n)+1;printf("%d\n",c))for(s=c=1;s%=n;s+=s*9+1)c++;}
- OurMajorLangIsCAndCPlusPlus/print . . . . 2 matches
printf와 같이 %d, %s, %f를 통해 정수(int), 문자열(char*), 실수(double)를 출력할 수 있다.
print("number: %d, string: %s, real number: %f\n", a, b, c);
- OurMajorLangIsCAndCPlusPlus/print/이도현 . . . . 2 matches
print("number: %d, string: %s, real number: %f\n", a, b, c);
print("%d. 1234 string %s %f\n", 1234, "test", 1234.124124);
- StuPId/김태진 . . . . 2 matches
scanf("%d",&N);
printf("Scenario #%d:\n",Sce);
- StuPId/정진경 . . . . 2 matches
scanf("%d", &n);
printf("Scenario #%d:\n%s\n\n", i, str);
- TestDrivenDevelopmentByExample/xUnitExample . . . . 2 matches
return "%d run, %d failed" %(self.runCount, self.failCount)
- VMWare/OSImplementationTest . . . . 2 matches
printf("%d
sectors, %d bytes read from file %s...\n", sectors_read, bytes_from_file,
- WOWAddOn/2011년프로젝트/초성퀴즈 . . . . 2 matches
x = msg:match("시작%s(%d+)$");
x = msg:match("시작%s(%d+)$");
- WinampPluginProgramming/DSP . . . . 2 matches
wsprintf(str,"%s%d%%",g_pitch>100?"+":"",g_pitch-100);
wsprintf(str,"%s%d%%",g_pitch>100?"+":"",g_pitch-100);
- XOR삼각형/이태양 . . . . 2 matches
scanf("%d",&n);
printf(" %d",xor[i][j]);
- while문 구구단 . . . . 2 matches
{{{ print a * b}}} -> {{{print '%d X %d = %2d'%(a,b,a * b)}}}
- zennith/source . . . . 2 matches
scanf("%d", &num);
printf("%d ", arr[i++]);
- ㄷㄷㄷ숙제2 . . . . 2 matches
scanf("%d", &a);
scanf("%d" ,&a);
- 그래픽스세미나/1주차 . . . . 2 matches
|| [상규] || [http://165.194.17.15/~lsk8248/wiki/Seminar/%b1%d7%b7%a1%c7%c8%bd%ba%bc%bc%b9%cc%b3%aa/1%c1%d6%c2%f7/Triangle.zip API Ver.] ||
- 기본데이터베이스/조현태 . . . . 2 matches
printf("%d. %s\t",i,print_outs[i]);
scanf("%d",&select_number);
- 김준호 . . . . 2 matches
예를들어 printf , \n , %d %e %c를 배웠습니다.
근데 printf가 글쓰는것에 이용하는것과 \n이 줄띄우는것은 알았습니다. 그런데 %d %e %c는 잘 이해가 안됩니다. ㅠㅠ
- 데블스캠프2006/월요일/연습문제/switch/김준석 . . . . 2 matches
printf("%c:%d명\n",'A'+i,a[i]);
printf("F:%d명\n",a[4]);
- 데블스캠프2009/금요일/연습문제/ACM2453/김홍기 . . . . 2 matches
int b(n){int a=0;for(;;n/=2){if(n%2)a++;if(!n)break;}return a;}main(i,n){for(;;){scanf("%d",&n);if(!n)break;for(i=n+1;b(n)!=b(i);i++);printf("%d\n",i);}}
- 데블스캠프2009/목요일/연습문제/다빈치코드/박준호 . . . . 2 matches
printf("%c%d ",handsort[index].color1, handsort[index].number);
scanf("%c %d", &color, &num);
- 데블스캠프2010/다섯째날/ObjectCraft/미션1/김상호 . . . . 2 matches
printf("저글링 0이 저글링 1에게 데미지 %d를 입혀 HP가 %d가 되었다.\n", a[0].gong, a[1].hp);
- 데블스캠프2010/다섯째날/ObjectCraft/미션1/김정욱 . . . . 2 matches
printf("저글링1-->저글링0공격 저글링[0]의 hp = %d \n",zergling[0].hp) ;
printf("저글링0-->저글링1공격 저글링[1]의 hp = %d \n",zergling[1].hp) ;
- 데블스캠프2010/다섯째날/ObjectCraft/미션1/박재홍 . . . . 2 matches
printf("저글링 b가 저글링 a에게 데미지 %d를 입혀 HP가 %d가 되었습니다.\n",dam1,a.HP);
- 데블스캠프2010/다섯째날/ObjectCraft/미션1/변형진 . . . . 2 matches
printf("저글링 0이 저글링 1에게 데미지 %d를 입혀 HP가 %d가 되었습니다.\n", damage, zerglings[1].hitP);
- 데블스캠프2010/다섯째날/ObjectCraft/미션1/허준 . . . . 2 matches
printf("저글링1이 저글링2에 데미지 %d를 입혀서 저글링2의 HP가 %d가 되었습니다.\n", zeli1.att, zeli2.HP);
- 데블스캠프2012/다섯째날/C로배우는C++원리 . . . . 2 matches
printf("name = %s, age = %d\n", this_person->name, this_person->age);
printf("name = %s, age = %d, studentID = %s\n", this_person->name, this_person->age, this_student->studentID);
- 로마숫자바꾸기/허아영 . . . . 2 matches
scanf("%d", number);
printf("%d : ", number);
- 마름모출력/임다찬 . . . . 2 matches
printf("변의 길이 입력 : "); scanf("%d",&byun);
printf("변의 길이 입력 : "); scanf("%d",&B_length);
- 삼각형매크로/임다찬 . . . . 2 matches
printf("밑변 입력 : "); scanf("%d",&wi);
printf("높이 입력 : "); scanf("%d",&he);
- 새싹교실/2011/AmazingC/5일차(4월 14일) . . . . 2 matches
scanf("%d", &number);
printf("%d", number);
- 새싹교실/2011/Pixar/4월 . . . . 2 matches
scanf("%d", &score) ;
scanf("%d", &score);
- 새싹교실/2011/學高/8회차 . . . . 2 matches
scanf("%d",&numOfRings);
printf("총 실행회수: %d\n",count);
- 새싹교실/2011/무전취식/레벨10 . . . . 2 matches
for (i=0; i<5; i++) scanf("%d", &num[i]);
printf("%d\n", sum);
- 새싹교실/2011/무전취식/레벨5 . . . . 2 matches
printf("%d",c);
printf("%d",c);
- 새싹교실/2011/쉬운것같지만쉬운반/2011.5.17 . . . . 2 matches
printf("%d", *p); --- (1)
printf("%d", *a); --- (2)
- 새싹교실/2012/아우토반/뒷반/5.11 . . . . 2 matches
scanf("%d",&n);
scanf( "%d", &num );
- 새싹교실/2012/아우토반/앞반/3.22 . . . . 2 matches
printf("%d\n", a);
printf("%d\n", b);
- 새싹교실/2012/아우토반/앞반/4.5 . . . . 2 matches
scanf("%d",&num);
scanf("%d",&a);
- 새싹교실/2012/열반/120326 . . . . 2 matches
printf("%d", f());
printf("%d\n", n);
- 새싹교실/2012/해보자/과제방 . . . . 2 matches
printf("%d",i+1);
printf("%d",i+1);
- 새싹교실/2013/라이히스아우토반/2회차 . . . . 2 matches
1. printf에서의 %d
5. %d,%i 등 여러가지의 printf 서식
- 새싹교실/2013/양반/3회차 . . . . 2 matches
printf("%d", min);
scanf("%d", &n);
- 소수구하기 . . . . 2 matches
printf("%d 이하 소수n",MAX_PRIME);
printf("소수 %d 개 발견n",primeArr_p);
BBC의 방송 기사를 옮겨서 기사가 부실한것 같다. [http://bbs.kldp.org/viewtopic.php?t=39037&highlight=%BC%D2%BC%F6 관련내용] 그리고 이해가 안가는게, 메르센 소수를 발견하는게 그 사람의 목표였는지, 아니면 발견된것이 메르센 소수인지도 이해가 안가게 해두었지. 것참 관심없는 내용이라고 저렇게 해둔건가.--NeoCoin
- 소수구하기/zennith . . . . 2 matches
printf("%d ", arr[i++]);
printf("#%d prime numbers.\n", count);
- 숫자를한글로바꾸기/허아영 . . . . 2 matches
scanf("%d", &number);
scanf("%d", &number);
- 쓰레드에관한잡담 . . . . 2 matches
printf("%d: sum+=%d\n", num, i);
- 이규완 . . . . 2 matches
scanf("%d", &key);
//printf("%d", len);
- 이영호/미니프로젝트#1 . . . . 2 matches
fprintf(stderr, "Child Process Created!: pid = %dn", pid);
fprintf(stderr, "Child Process Closed!: pid = %d, WEXITSTATUS = %Xn", pid, WEXITSTATUS(last));
- 이재영 . . . . 2 matches
scanf("%d",&hac);
printf("%s\n %d\n %.1f\n", name,hac, grade);
- 조동영 . . . . 2 matches
scanf("%d",&num);
scanf("%d",&num);
- 최소정수의합/김대순 . . . . 2 matches
printf("n=%d and, total sum=%d\n",n,s);
- 최소정수의합/김유정 . . . . 2 matches
printf("n=%d,sum=%d\n",n,sum);
- 최소정수의합/김태훈zyint . . . . 2 matches
printf("n = %d, sum = %d\n",n,sum);
- 최소정수의합/이규완 . . . . 2 matches
printf("n=%d, sum=%d", n, sum);
- 최소정수의합/이재경 . . . . 2 matches
printf("n=%d,sum%d\n",n,sum);
- 최소정수의합/이태양 . . . . 2 matches
printf("n=%d sum=%d\n",n,sum);
- 최소정수의합/임다찬 . . . . 2 matches
printf("n = %d ,sum = %d\n",n,sum);
- 최소정수의합/최경현 . . . . 2 matches
printf("min number = %d , sum = %d ",minimumNumber,sum);
- 토이/삼각형만들기/김남훈 . . . . 2 matches
scanf("%d %d", sel, num);
- 파스칼삼각형/이태양 . . . . 2 matches
printf("행의수를 입력하시오:"); scanf("%d",&c);
printf("열의수를 입력하시오:"); scanf("%d",&r);
- 파스칼삼각형/임다찬 . . . . 2 matches
printf("Row 값을 입력하세요 : "); scanf("%d",&row);
printf(" %d",pascalt[i][j]);
- 피보나치/SSS . . . . 2 matches
scanf("%d", &pvio);
printf("%d\n",num_prev);
- 피보나치/김민경 . . . . 2 matches
scanf ("%d",&n);
if (temp==n) printf ("%d\n",check1);
- 피보나치/김소현,임수연 . . . . 2 matches
scanf("%d", &input);
printf("%d", sum);
- 피보나치/김영록 . . . . 2 matches
scanf("%d",&number_input);
printf("%d",number_output);
- 피보나치/김재성,황재선 . . . . 2 matches
scanf("%d", &index);
printf("%d\n", fivo(index));
- 피보나치/김진목 . . . . 2 matches
scanf("%d", &n);
printf("결과 : %d", pres);
- 피보나치/소현,수연 . . . . 2 matches
scanf("%d", &input);
printf("%d", sum);
- 피보나치/유선 . . . . 2 matches
scanf("%d",&count);
printf("%d",c);
- 피보나치/허아영 . . . . 2 matches
scanf("%d", &i);
printf("%d", num3);
- 하노이탑/김태훈 . . . . 2 matches
printf("%d->%d ",from,to);
- AKnight'sJourney/강소현 . . . . 1 match
System.out.printf("%c%d",savePath[k][1]+64, savePath[k][0]);
- BigBang . . . . 1 match
* 첫번째 인자 안에 %d.. 등으로 가변인자의 형을 검사하는거야? - [서지혜]
- CNight2011/김태진 . . . . 1 match
int *a;라고 했다가 printf("%d",a);라고 했을때는 a의 주소값이 출력된다는거도 다시 배웠구요.
- CSP . . . . 1 match
return "%d:%s," % (len(s), s)
- EightQueenProblem/lasy0901 . . . . 1 match
printf("[%d] : ",count);
- EightQueenProblem/서상현 . . . . 1 match
printf("%d", board[i][j]);
- EightQueenProblem/햇병아리 . . . . 1 match
printf("%d ", board[i][j]);
- Interpreter/Celfin . . . . 1 match
sscanf(temp, "%d", &ram[number]);
- LinkedList/C숙제예제 . . . . 1 match
printf("%d\n",p->num);
- LinkedList/숙제 . . . . 1 match
printf("%d\n",p->num);
- ObjectProgrammingInC . . . . 1 match
printf("%d\n", x);
- One/피라미드 . . . . 1 match
printf("숫자를 입력하시오."); scanf("%d",&j);
- OurMajorLangIsCAndCPlusPlus/print/김상섭 . . . . 1 match
print("number: %d, string: %s, real number: %f\n", a, b, c);
- OurMajorLangIsCAndCPlusPlus/print/이상규 . . . . 1 match
print("number: %d, string: %s, real number: %f\n", a, b, c);
- OurMajorLangIsCAndCPlusPlus/print/조현태 . . . . 1 match
print("number: %d, string: %s, real number: %f\n", a, b, c);
- OurMajorLangIsCAndCPlusPlus/print/하기웅 . . . . 1 match
print("정수 : %d, 실수 : %f, 문자열 : %s\n", d, f, s);
- OurMajorLangIsCAndCPlusPlus/print/허준수 . . . . 1 match
print("number: %d, string: %s, real number: %f\n", a, b, c);
- OurMajorLangIsCAndCPlusPlus/setjmp.h . . . . 1 match
printf("%d", setjmp(ERiRo));
- OurMajorLangIsCAndCPlusPlus/stdlib.h . . . . 1 match
printf( " strtol = %ld (base %d)\n", ul, base );
- RandomWalk/임인택 . . . . 1 match
k = rand()%DIRECTION;
k = rand()%DIRECTION;
randNum = rand.nextInt()%dir_x.length;
- Ruby/2011년스터디/서지혜 . . . . 1 match
printf("number of process = %d", countProcess);
- SeminarHowToProgramIt/Pipe/VendingMachineParser.py . . . . 1 match
print '%d inserted' % anAmount
- ServerBackup . . . . 1 match
/usr/bin/mysqldump -u <username> -p <password> <databasename> | gzip > /path/to/backup/db/zeropage_`date +%y_%m_%d`.gz
- Slurpys/이상규 . . . . 1 match
scanf("%d", &n);
- Stack/임다찬 . . . . 1 match
printf("%d ",array[i]);
- WeightsAndMeasures/신재동 . . . . 1 match
return '<A : %d>'%self.foo
- XOR삼각형/임다찬 . . . . 1 match
printf(" %d",tri[i][j]);
- XOR삼각형/허아영 . . . . 1 match
printf("%d", xortri[i][j]);
- django/RetrievingObject . . . . 1 match
and report_department_employees.department_id= %d' ' '
- 가독성 . . . . 1 match
printf("%d", i);
- 강희경 . . . . 1 match
http://zeropage.org/pub/upload/%c0%da%b0%e2%c0%cc~.JPG
- 데블스캠프2009/금요일/연습문제/ACM2453/조현태 . . . . 1 match
main(a,b,c){while(scanf("%d",&a)&&a){for(b=0;!(a&1<<b);++b);for(c=1<<b;a&c;c<<=1);printf("%u\n",(a|c)&~(c-1)|(c>>b+1)-1);}}
- 데블스캠프2011/셋째날/String만들기 . . . . 1 match
|| format || String::format("참석자 : %d명", 8) == "참석자 : 8명" ||
- 로마숫자바꾸기/조현태 . . . . 1 match
scanf("%d",&number);
- 마름모출력/김유정 . . . . 1 match
scanf("%d",&a);
- 마름모출력/이재경 . . . . 1 match
scanf("%d",&n);
- 마름모출력/이태양 . . . . 1 match
printf("변입력:");scanf("%d",&b);
- 만년달력/김정현 . . . . 1 match
int reducedDays= getTotalDaysUntil(year, month, day)%dayNames.length;
- 몸짱프로젝트/BinarySearch . . . . 1 match
printf("Position : %d\n", result);
- 몸짱프로젝트/BubbleSort . . . . 1 match
printf("%d\n", *p_arr);
- 문자열검색/허아영 . . . . 1 match
fprintf(fp, "\nfirst found -> %d\n\n", exist_str[word_num]+1);
- 반복문자열/김유정 . . . . 1 match
printf("%dCAUCSE LOVE.\n",i);
- 반복문자열/이강희 . . . . 1 match
printf("%d. CAUCSE LOVE.\n", num);
- 반복문자열/이재경 . . . . 1 match
printf ("%dCAUSE LOVE. \n,"i);
- 반복문자열/황세연 . . . . 1 match
{printf("%d CAUCSE LOVE.\n",i);
- 사과나무/과제방/1회차/김도익 . . . . 1 match
* printf("형식",형식에 필요한 요소들 ... ) 형식으로는 %d, %lf, %s ... 등이 있다. 이런걸 바랬는데 내가 과제 설명을 너무 대충 해줬구나, my fault - [고한종]
- 새싹-날다람쥐 6월 10일 . . . . 1 match
scanf("d의 배열 크기를 입력해주세요.\n%d", temp);
- 새싹교실/2011/AmazingC . . . . 1 match
* 따라서 scanf("%d",&number);에서 &는 number가 메모리에서 차지하고 있는 공간의 주소를 반환한다.(후에 포인터 배울때 중요한 개념)
- 새싹교실/2011/Pixar/3월 . . . . 1 match
printf("%d", 3+4);
- 새싹교실/2011/學高/1회차 . . . . 1 match
* \n(한줄 내리기), %d%e, %c
- 새싹교실/2011/무전취식/레벨3 . . . . 1 match
* printf()와 scanf()함수의 쓰임에 대해 말해주었습니다. %c %d %l %f %%등등.
- 새싹교실/2011/앞반뒷반그리고App반 . . . . 1 match
scanf("%d", &n);
- 새싹교실/2012/새싹교실강사교육/3주차 . . . . 1 match
scanf("%d", &mode);
- 새싹교실/2012/열반/120507 . . . . 1 match
printf("%d", A[0]); // 배열의 첫 번째 원소 출력
- 새싹교실/2013/록구록구/2회차 . . . . 1 match
[이주영] scanf에서 %d가 두개 들어갈 때 어떻게 처리가 되는지....였나?? 맞지?? ㅋㅋ
- 새싹교실/2013/책상운반 . . . . 1 match
printf("%d",a());
- 소수구하기/상욱 . . . . 1 match
printf("%d\n", i);
- 수/마름모출력 . . . . 1 match
scanf(" %d", &num);
- 수학의정석 . . . . 1 match
printf("CPU CLOCKS = %d\n", clock() - time_in); // 끝났을때 시간 - 초기 시작시간 = 프로그램 실행 시간
- 스택/이태양 . . . . 1 match
printf("[%d]\n",stack[i]);
- 이영호/문자열검색 . . . . 1 match
fprintf(fp, "first found -> %d\n", loc-x);
- 임인택/삽질 . . . . 1 match
scanf("%d", &m);
- 제곱연산자 전달인자로 (Setting) . . . . 1 match
printf("%d\n", result);
- 주민등록번호확인하기/정수민 . . . . 1 match
printf("%d ",a[i]);
Found 389 matching pages out of 7555 total pages (5000 pages are searched)
You can also click here to search title.