摘要: LL hash(char*str){ int seed=131; LL h=0; int len=strlen(str); for(int i=0;i<len;i++){ h=h*seed+str[i]; } return ((h&0x7FFFF... 阅读全文
posted @ 2014-12-13 17:26 逍遥丶綦 阅读(90) 评论(0) 推荐(0)