Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
谢谢,原来是Hash没写好,数相加溢出了,但为什么那两个程序一个能AC?In Reply To:看 Posted by:hawk at 2004-11-20 22:06:39 > for(sym=arry[h];sym!=NULL;sym=sym->next) > if(strcmp(sym->name,str)==0) > 后一句中的sym指向出问题了,原因是前面的h出问题了,导致arry[h]有问题 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator