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+欧拉图判断+小心空数据!!!(附HASH函数)unsigned int hash(char *url) { unsigned int nn=0; char *b=(char *)&nn; for(int i=0;url[i];++i) b[i%4]^=url[i]; return nn%MAXN; } Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator