KakaoTalk_20190606_001802318.png
  • 246x0w
Welcome
Curriculum
Install&Go
Board
실제 작동 상태를 확인하려면 라이브 사이트로 이동하세요.
  • 카테고리
  • 전체 게시물
  • 내 게시물
권현수
2020년 7월 08일

200708

게시판: 소스 코드 제출

//#include<stdio.h>

//struct mm

//{

// char inwon[11];

// int score;

//};

//int main()

//{

// struct mm arr[100];

// int n,m,i,j,max=0,k=1;

// scanf("%d %d", &n,&m);

// for(i=0; i<n; i++)

// {

// scanf("%s %d", arr[i].inwon, &arr[i].score);

// }

// for(i=0; i<m; i++)

// {

// max = 0;

// for(j=0; j<n; j++)

// {

// if(max<arr[j].score)

// {

// max=arr[j].score;

// k=j;

// }

// }

// printf("%s\n", arr[k].inwon);

// arr[k].score = 0;

// }

//

// return 0;

//}

//

//#include<stdio.h>

//struct asia

//{

// int nara;

// int bunho;

// int score;

//};

//int main()

//{

// struct asia arr[100];

// int c[101]={0};

// int n,i,j,y,max=0, k=0;

// scanf("%d", &n);

//

// for(i=0; i<n; i++)

// {

// scanf("%d %d %d", &arr[i].nara,&arr[i].bunho,&arr[i].score);

// }

//

// for(i=0; i<3; i++)

// {

// max = 0;

// for(j = 1 ; j<=n ; j++)

// {

// if(c[j]>=2)

// {

// for(y=0 ; y<n; y++)

// {

// if(arr[y].nara==j)

// {

// arr[y].score=0;

// }

// }

// //나라가 j인 학생의 점수를 모두 0점처리

// }

// }

// for(j=0; j<n; j++)

// {

// if(max<arr[j].score)

// {

// max=arr[j].score;

// k=j;

// }

// }

// c[arr[k].nara]++;

// printf("%d %d\n", arr[k].nara,arr[k].bunho);

// arr[k].score = 0;

// }

//

// return 0;

//}

댓글 0개
0
댓글
댓글 0개
유사 게시물
  • 200708
  • 200708
  • 200708
주소 : 경기도 용인시 광교중앙로 302 블루 스퀘어 602호
연락처 : 031) 216 - 1546
사업자등록번호 : 465-92-00916
​학원 등록 제 4603호