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 |
提供一组数据(我调试一整天就卡这)6 5 16 8 4 2 31 另外我hash的key是这样求的 int key = 0; for(int j = 0;j < k;j++) key = ( key + ( ( temp[i][j] + j ) % Pri_max) * j ) % Pri_max ; key = ( ( key % Pri_max ) + Pri_max ) % Pri_max; 仅供参考。 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator