1 solutions
-
0
C :
#include<stdio.h> #include<string.h> typedef struct people { long number; char name[10]; int score[6]; }; main() { int i,j,k,m,n; struct people p[30]; scanf("%d",&m); scanf("%d",&n); for(i=0;i<m;i++) { scanf("%ld %s",&p[i].number,p[i].name); for(j=0;j<n;j++)scanf("%d",&p[i].score[j]); } }
- 1
Information
- ID
- 17462
- Time
- 1000ms
- Memory
- 128MiB
- Difficulty
- (None)
- Tags
- # Submissions
- 0
- Accepted
- 0
- Uploaded By