哪位大哥大姐给看一下啊,真的非常急呀~~~~~!!!!
来源:百度知道 编辑:UC知道 时间:2024/06/08 04:37:15
由于程序太长了,加我QQ413672822,我发过去
代码如下:
--------------------------------
#include <malloc.h>
#include <stdio.h>
#include <stdlib.h>
#define NULL 0
#define MaxSize 30
struct athletestruct
{
char name[20];
int score;
int range;
int item;
};
struct schoolstruct
{
int count;
int serial;
int menscore;
int womenscore;
int totalscore;
struct athletestruct athlete[MaxSize];
struct schoolstruct *next;
};
int nsc,msp,wsp;
int ntsp;
int i,j;
int overgame;
int serial,range;
int n;
struct schoolstruct *head,*pfirst,*psecond;
int *phead=NULL,*pafirst=NULL,*pasecond=NULL;
input ()
{
char answe