- 0
- 0
- 约2.52千字
- 约 3页
- 2025-06-27 发布于四川
- 举报
#includeiostream
usingnamespacestd;
typedefintstatus;
#defineOVERFLOW-2
#defineOK1
#defineERROR-1
typedefstruct
{
int*elem;
intlength;
}list;
statusbsearch(listL,intx)
{
L.elem=(int*)malloc(50*sizeof(int));
if(!L.elem)exit(OVERFLOW);
freopen(a.txt,r,stdin);
int=0;
while(scanf(%d,L.elem[]))++;
L.length=;
intlow;i
原创力文档

文档评论(0)