#include <stdio.h>
#include <string.h>
#define ERROR 999
#define FLASE 998
#define TURE 997
int denglu();
int caidan();
typedef struct people{
char yonghu[20];
char mima[20];
}people;
typedef struct Birthday{
int year;
int month;
int day;
char a[50];
}Birthday;
typedef struct yupiao{
char youlocation[20];
char mudilocation[20];
int yupiao;
int value;
char checi[10];
Birthday birthday;
}yupiao;
yupiao p1={"西安","神木",5,98,"k8203",{2024,8,21,"10:24"}};
yupiao p2={"西安","汉中",12,97,"D1983",{2024,8,20,"12:50"}};
yupiao p3={"西安","榆林",7,81,"C202",{2024,8,20,"20:13"}};
yupiao p4={"西安","绥德",23,98,"C200",{2024,8,19,"22:59"}};
yupiao p5={"西安","延安",0,98,"k560",{2024,8,20,"13:30"}};
yupiao arr[5]={p1,p2,p3,p4,p5};
static people pe1={"armin","123"};
static people pe2;
static people pe3;
static people pe4;
static people pe5;
static people pe6;
static people pe;
static people brr[5]={pe1,pe2,pe3,pe4,pe5};
int main() {
denglu();
caidan();
return 0;
}
int denglu(){
printf("--------------\n请输入用户名:");
scanf("%s",&pe.yonghu);
printf("--------------\n输入密码:");
scanf("%s",&pe.mima);
int i=0;
for(i=0;i<5;i