Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

谢谢,原来是Hash没写好,数相加溢出了,但为什么那两个程序一个能AC?

Posted by windbells at 2004-11-20 22:18:09 on Problem 1119
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator