1: 是零个合理的人数,直接输出零,末尾不要有空格
2:是一个合理的人直接将这个人输出两次, 他既是最年长的也是最年轻的
#include <stdio.h>
#include <stdlib.h>
#define RIGHT 1
#define WRONG 2
#define FIRST 3
#define SECOND 4
#define MAX_NAME 6
typedef struct info {
char name[MAX_NAME];
int y;
int m;
int d;
} info;
int sum;
struct info *old; /* 记录最早出生的人 */
struct info *young; /* 记录最迟出生的人 */
int read_info ();
int which_older (struct info *first, struct info *second);
int record_man (struct info *man);
int print_result ();
/*------------------------------- 读信息 判断 ----------------------------------*/
int read_info () {
struct info *p;
struct info *max_age, *min_age;
max_age = malloc (sizeof(info));
min_age = malloc (sizeof